Description
Find the immediate parent operator, if any, for some operator.
-
Return Type
-
An Object object.
The parent operator or Nothing if no such the operator is global (has no parent).
-
Syntax
-
object.ParentOfOperator (Operator)
The ParentOfOperator Method syntax has these parts: |
| object | An expression evaluating to an object of type McEngine. | | Operator | Required. An Object object. The operator instance for which the parent operator is desired. This must be an interface implementing IMcHasObject or it must be the McObject of such an interface.
| Remarks
This function provides a convenient way to determine if an operator (an interface implementing IMcHasObject) has an immediate parent operator and returns the parent if so. Use AncestorOfOperator to find any ancestor of a given type.
|