Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPropertyDefinition Class / IsIndexed Property
Example

In This Topic
    IsIndexed Property (MDPropertyDefinition)
    In This Topic
    Checks if 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 IsIndexed property is called on MDPropertyDefinition object with invalid property Id.
    Remarks
    Should be called only on MDPropertyDefiniton objects with valid Id.
    Example
    MDPart oPart  = m_MDPartsDatabase.Parts[0]; //a valid part object
    
    //a valid call
    bool bIndexed = oPart.Properties[Eplan.EplApi.MasterData.Properties.MDPartsDatabaseItem.ARTICLE_ADDITIONALTEXT].Definition.IsIndexed;
    See Also