CreateInstances method
- Last UpdatedJul 23, 2024
- 1 minute read
Creates a collection of new instances from a template.
Class
ITemplate
Syntax
[C#]
IgObjects CreateInstances(
ref string[] tagnames,
bool createContainedObjects
);
[Visual C++]
HRESULT CreateInstances(
[in, out] SAFEARRAY(BSTR)* tagnames,
[in, optional, defaultvalue( 1 )] VARIANT_BOOL createContainedObjects,
[out, retval] IgObjects**
);
Parameters
tagnames
An array of unique tagnames for the newly created instances.
createContainedObjects
Set to true to create contained objects.
IgObjects
The instances that were created.