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

Application Server

QueryObjectsByName method

  • Last UpdatedJul 23, 2024
  • 1 minute read

Retrieves a gObjects collection based on a set of tagnames.

Class

IGalaxy

Syntax

[C#]

IgObjects QueryObjectsByName(

EgObjectIsTemplateOrInstance templateOrInstance, ref string[] tagnames

);

[Visual C++]

HRESULT QueryObjectsByName(

[in] EgObjectIsTemplateOrInstance templateOrInstance,

[in, out] SAFEARRAY(BSTR)* Tagnames,

[out, retval] IgObjects**

);

Parameters

templateOrInstance

Indicates whether a gObject is a template or an instance.

Tagnames

An array of tagnames. Any tagname found in the Galaxy will be included in the returned collection.

IgObjects

Returns a gObjects collection object.

Remarks

User should be logged in.

Note: If a tagname is not found, it is simply not included in the returned collection object.

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