IMcResourceManagerEngineCreationOrderFromOperator Method
|
|
Returns the engine creation order of a given Operator (an interface that exposes IMcHasObject).
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxFunction EngineCreationOrderFromOperator (
Operator As Object
) As Integer
Parameters
- Operator
- Type: SystemObject
A McObject, McObjects or interface exposing IMcHasObject.McObjects. Nothing
is illegal.
Return Value
Type:
Int32The creation order as a non-negative number. The main engine is always 0. If the
Operator paremeter is an interface exposing IMcHasObject that was created with CreateObject
or CreateInstance instead of McEngine.CreateOperator, then -1 will be returned as the creation
order. If the interface passed in is neither a McObject, McObjects or IMcHasObject, then
-2 is returned.
RemarksThe engine creation order uniquely defines an McEngine instance. The singleton
McEngine instance that runs in the Main, foreground UI thread always has creation order
zero. Other, background engines have positive creation orders.
See Also