GefProcedures.Item (read-only property)

Gets the specified item from the collection.
Syntax: Set GefProcedure = object.Item ( IndexOrName )
Parameters:
Optional IndexOrName As VARIANT -
Description: The GefProcedures collection support access by index number or name.

Example:

Sub GefProcedures_Item()
    
    Dim oCimObj As GefObject
    Dim oCimProcedures As GefProcedures
    Dim nI As Integer
    
    Set oCimObj = CimGetObject
    Set oCimProcedures = oCimObj.Procedures
    For nI = 0 To oCimProcedures.Count - 1
        MsgBox "Procedure number " & nI + 1 & " is named " & _
            """" & oCimProcedures.Item(nI).Name & """"
    Next nI
    
End Sub