API Help
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 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 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