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

In This Topic
    IsReadOnly Property (PropertyDefinition)
    In This Topic
    Allows to check if a given property is read-only.
    Syntax
    public bool IsReadOnly {get;}
    public:
    property bool IsReadOnly {
       bool get();
    }

    Property Value

    • true = Property is read-only

    • false = Property is not read-only

    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
    
    bool isReadOnly = article.Properties.ARTICLE_HEIGHT.Definition.IsReadOnly;
    
    
    
    See Also