QueryObjects method
- Last UpdatedJul 23, 2024
- 1 minute read
Retrieves gObjects collection based on the given criteria.
Class
IGalaxy
Syntax
[C#]
IgObjects QueryObjects(
EgObjectIsTemplateOrInstance templateOrInstance,
EConditionType Kind,
object value,
EMatch MatchCondition
);
[Visual C++]
HRESULT QueryObjects(
[in] EgObjectIsTemplateOrInstance templateOrInstance,
[in] EConditionType Kind,
[in] VARIANT Value,
[in, optional, defaultvalue( MatchCondition )] EMatch MatchCondition,
[out, retval] IgObjects**
);
Parameters
templateOrInstance
Indicates whether a gObject is a template or an instance.
Kind
Indicates the type of condition used by the query.
Value
The value to be searched for. Meaning is based on the Kind parameter.
MatchCondition
To negate the condition, pass False.
IgObjects
Returns a gObjects collection.
Remarks
User should be logged in.