GefObject.Expressions (read-only property)

Represents a collection of expressions configured for an object.
Syntax: Set GefObjectExpressions = object.Expressions
Description: The Expressions property returns a collection which contains the expressions that are configured for an object.


Sub GefObject_Expressions()
    Dim oCimObj As GefObject
    Dim oCimObjExprs As GefObjectExpressions
    Set oCimObj = CimGetObject
    Set oCimObjExprs = oCimObj.Expressions
    MsgBox "There are " & oCimObjExprs.Count & _
        " expression(s) on this object"
End Sub