Eplan Platform API
Eplan.EplApi.DataModel.EObjects Namespace / Terminal Class / ParentFunction Property

In This Topic
    ParentFunction Property (Terminal)
    In This Topic
    Gets parent function (a main function having the same identifying name or, in case of sub-terminals, the main terminal of a multi-level terminal). For main functions it returns NULL.
    public override Function ParentFunction {get;}
    property Function^ ParentFunction {
       Function^ get() override;

    Property Value

    The parent function

    Null when the Function object is a main function

    Thrown when internal query for functions throws exception
    Note: Accessing this property may be time consuming in case of non-main terminals existing on large terminal strips. Consider usage of the Terminal.TerminalStripCache object when accessing this property multiple times on terminals of the same strip.
    See Also