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

ParentFunction Property (Terminal)
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.
Syntax
public override Function ParentFunction {get;}

Property Value

The parent function

Null when the Function object is a main function

Exceptions
ExceptionDescription
Thrown when internal query for functions throws exception
Remarks
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