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

    Parameter NameDescription
    strActionNameThe function is saved with this name as an Action in the system.
    iOrdinalThis overload level is used when registering the action in the system.
    See Also