AddExtensionPrimitive method
- Last UpdatedJul 23, 2024
- 1 minute read
Adds an extension primitive to this object.
Class
ITemplate
Syntax
[C#]
void AddExtensionPrimitive(
string ExtensionType,
string ExtensionPrimitiveName,
bool IsObjectExtension
);
[Visual C++]
HRESULT AddExtensionPrimitive(
// Type of extension
[in] BSTR ExtensionType,
// Name of extension primitive to be added -
// For attribute extension primitive - Fully
// qualified name of attribute being extended
// For object extension primitive - New name
// specified by user for object extension
// primitive
[in] BSTR ExtensionPrimitiveName,
// If wszName is the new name specified by user,
// this field will be set to true. For example,
//when add script pass true
[in, optional, defaultvalue( -1 )]VARIANT_BOOL IsObjectExtension
);