API Help
Eplan.EplApi.ApplicationFramework Namespace / ActionParameterProperties Class
Members Example

In This Topic
    ActionParameterProperties Class
    In This Topic
    Description of a parameter that can be passed to an ActionCallingContext. This class only serves for documentation purposes.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.ApplicationFramework.ActionParameterProperties

    Syntax
    public class ActionParameterProperties 
    public ref class ActionParameterProperties 
    Example
    Example of listing action parameters
    ActionManager oMng = new ActionManager();
    Action oAction = oMng.FindAction(m_strActionName);
    labelDescription.Text = oAction.ActionProperties.Description;
    
    ArrayList lst= oAction.ActionProperties.GetParameterProperties();
    
    if (lst.Count== 0)
    {
       listViewParameter.Hide();
    }
    else
    {
       foreach (ActionParameterProperties oProperties in lst)
       {
            String strParamName         = oProperties.Name;
            String strParamDescription  = oProperties.Description;
    
            System.Windows.Forms.ListViewItem listItem= new System.Windows.Forms.ListViewItem(strParamName);
            listItem.SubItems.Add(strParamDescription);
    
            listViewParameter.Items.Add(listItem);
    
        }
        listViewParameter.Show();
    }
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyName of a parameter.  
    Top
    Public Methods
     NameDescription
    Public MethodDestructor for deterministic finalization of ActionParameterProperties object.  
    Public MethodFor internal use only.  
    Public MethodDescription text of a parameter. Sets name and description text of a parameter.  
    Top
    See Also