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

In This Topic
    IsIndexed Property (PropertyDefinition)
    In This Topic
    Allows to check if a given property is indexed
    Syntax
    public bool IsIndexed {get;}
    public:
    property bool IsIndexed {
       bool get();
    }

    Property Value

    true : Property is indexed

    false : Property is not indexed

    Exceptions
    ExceptionDescription
    Thrown when called for PropertyValue created as a conversion from other type.
    Remarks
    Can be called only after retrieving form given API class property list.
    Example
    Article article; //a valid article object
    
    bool b = article.Properties[Properties.Article.ARTICLE_HEIGHT].IsIndexed;
    
    PropertyValue pv = 2;
    bool bb = pv.IsIndexed;
    See Also