API 文件集 > Data sharing > Object ProVariantfeat > Function ProVariantfeatItemCopySet
Function ProVariantfeatItemCopySet
Description
Assigns the copy flag for a given item in the inheritance feature or flexible component. After making a change using this function, you should regenerate the feature's owner to completely update the status of the item.
Synopsis
#include <ProVariantFeat.h>
ProVariantfeatItemCopySet
(
ProFeature* feature
/* (In)
The variant feature
*/
/* (In)
The item. If the item is not currently varied in the feature this will force it to become varied.
*/
/* (In)
Whether or not to copy the item into the variant feature. If set, this overrides the "copy all" setting for the feature.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
See Also
這是否有幫助?