Eplan Platform API
Eplan.EplApi.Scripting Namespace / DeclareAction Class / DeclareAction Constructor / DeclareAction Constructor(String,Int32)
The function is saved with this name as an action in the system.
This overload level is used when registering the action in the system.

In This Topic
    DeclareAction Constructor(String,Int32)
    In This Topic
    Used to mark a function of a class in a script if the function of this script is to be registered as an action in the system.
    Syntax
    public DeclareAction( 
       string strActionName,
       int iOrdinal
    )
    public:
    DeclareAction( 
       String^ strActionName,
       int iOrdinal
    )

    Parameters

    strActionName
    The function is saved with this name as an action in the system.
    iOrdinal
    This overload level is used when registering the action in the system.
    See Also