Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

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.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in