Eplan Platform API
Eplan.EplApi.DataModel Namespace / UserDefinedPropertyDefinition Class / IsDeprecated Property
Example

In This Topic
    IsDeprecated Property (UserDefinedPropertyDefinition)
    In This Topic
    Allows to check if a given property is marked as deprecated.
    Syntax
    public override bool IsDeprecated {get;}
    public:
    property bool IsDeprecated {
       bool get() override;
    }

    Property Value

    • true = Property is deprecated

    • false = Property is not deprecated

    Remarks
    Can only be called after retrieving a property list from the given API class. Returns false for user-defined properties.
    Example
    Function function = page.Functions[0]; // A valid Function object
    
    bool isDeprecated = function.Properties.FUNC_COUNTER.Definition.IsDeprecated;
    
    
    
    See Also