Eplan Platform API
Eplan.EplApi.DataModel Namespace / PropertyDefinition Class / MaxIndex Property
Example

In This Topic
    MaxIndex Property (PropertyDefinition)
    In This Topic
    Allows to check the maximum index of a given property.
    Syntax
    public int MaxIndex {get;}
    public:
    property int MaxIndex {
       int get();
    }

    Property Value

    Maximum index of a given property.
    Exceptions
    ExceptionDescription
    Thrown when called for PropertyDefinition created as a conversion from other type.
    Remarks
    Can only be called after retrieving a property list from the given API class.
    Example
    Article article = myProject.Articles[0]; // A valid Article object
    
    int maxIndex = article.Properties.ARTICLE_HEIGHT.Definition.MaxIndex;
    
    
    
    See Also