GefProcedures.Add (method)

Adds a new item to the collection.
Syntax: Set GefProcedure = object.Add ( )
Description: Returns a new GefProcedure with a unique name.

Example:

Sub GefProcedures_Add()
    
    Dim oCimObj As GefObject
    Dim oCimProcedures As GefProcedures
    Dim oCimProcActs As GefProcActions
    Dim oCimNewProc As GefProcedure
    
    Set oCimObj = CimGetObject
    Set oCimProcedures = oCimObj.Procedures
    Set oCimNewProc = oCimProcedures.Add
    oCimNewProc.Actions.Add gefActionHomeScreen
    
End Sub