GefObjectExpressions.Count (method)

Gets the number of expressions in the collection.
Syntax: long = object.Count ( )
Description: The Count method gets the number of expressions in the collection.

Example:

Sub GefObjectExpressions_Count()
    
    Dim oCimObj As GefObject
    Dim oCimObjExprs As GefObjectExpressions
    
    Set oCimObj = CimGetObject
    Set oCimObjExprs = oCimObj.Expressions
    
    MsgBox "The number of expressions is " & oCimObjExprs.Count
    
End Sub