Eplan Platform API
Eplan.EplApi.DataModel Namespace / Function Class / Properties Property
Example

In This Topic
    Properties Property (Function)
    In This Topic
    EPLAN properties of the Function object.
    Syntax
    public new FunctionPropertyList Properties {get;}
    public:
    new property FunctionPropertyList^ Properties {
       FunctionPropertyList^ get();
    }
    Exceptions
    Remarks
    Do NOT use this function for TerminalStrip and PlugStrip objects. Those classes have their own 'Properties' members which hide the 'Properties' member of the Function class. When getting/setting the FUNC_CONNECTIONDESIGNATION, FUNC_CONNECTIONDESCRIPTION and FUNC_CONNECTIONCROSSSECTIONS properties, note that the maximum index which can be used is not only determined by the maximum index defined in the properties' definitions but also depends on the count of the function's connection points (i.e. cannot be higher than that).
    Example
    Function func;
    func.Properties[Properties.Function.DESIGNATION_PLANT] = "AP";
    func.Properties[Properties.Function.FUNC_COMMENT] = "that is a good function";
    string s = func.Properties[Properties.Function.FUNC_DEVICETAG_FULL];
    See Also