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

In This Topic
    ReadOnly Property (MDPropertyDefinition)
    In This Topic
    Check if a given property is read-only.
    Syntax
    public bool ReadOnly {get;}
    public:
    property bool ReadOnly {
       bool get();
    }

    Property Value

    true : Property is read-only

    false : Property is not read-only

    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 bReadOnly = oPart.Properties.ARTICLE_HEIGHT.Definition.ReadOnly;
    See Also