API Help
Eplan.EplApi.Scripting Namespace / DeclareAction Class
Members

In This Topic
    DeclareAction Class
    In This Topic
    Attribute used to mark a method of a class in a Scripts so that this method will be registered as an Eplan.EplApi.Scripting.Action in the system. If a method, which is marked by the DeclareAction attribute has string parameters, these \parameters will be recognized as parameters of the Action.
    Inheritance Hierarchy

    System.Object
       System.Attribute
          Eplan.EplApi.Scripting.DeclareAction

    Syntax
    [AttributeUsage(ValidOn=AttributeTargets.Method, 
       AllowMultiple=false, 
       Inherited=true)]
    public class DeclareAction : System.Attribute 
    [AttributeUsage(ValidOn=AttributeTargets.Method, 
       AllowMultiple=false, 
       Inherited=true)]
    public ref class DeclareAction : public System.Attribute 
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyName of the action.  
    Public PropertyOverload level of the action.  
    Public Property (Inherited from System.Attribute)
    Top
    Public Methods
     NameDescription
    Public Method (Inherited from System.Attribute)
    Public Method (Inherited from System.Attribute)
    Public Method (Inherited from System.Attribute)
    Public Method (Inherited from System.Attribute)
    Top
    See Also

    Reference

    DeclareAction Members
    Eplan.EplApi.Scripting Namespace
    Eplan.EplApi.Scripting.Action