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