Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPropertyValue Class / IsEmpty Property

In This Topic
    IsEmpty Property (MDPropertyValue)
    In This Topic
    Checks if property value is empty. If its not it can be read. IMPORTANT: If property is indexed you have to specify index.
    Syntax
    public bool IsEmpty {get;}
    public:
    property bool IsEmpty {
       bool get();
    }
    Remarks
    On an indexed property you need to check IsEmpty for each property index, you want to get, e.g. if(propertyValue[10].IsEmpty) { //Add your code here } . If you want to make property empty, just create a new property and assign it to the Property: {object}.{Properties}.{property id} = new MDPropertyValue()
    See Also