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

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

    Property Value

    true : Property is deprecated

    false : Property is not deprecated

    Remarks
    Can be called only after retrieving form given API class property list. Returns false for user-defined properties.
    Example
    Function function; //a valid function object
    
    bool b = function.Properties.FUNC_TERMINAL_CONNECTIONINFO_0.Definition.IsDeprecated;
    See Also