API Help
Eplan.EplApi.HEServices Namespace / NameService Class / FindNameGivingObject Method / FindNameGivingObject(Function) Method
Function, which takes over a name.

FindNameGivingObject(Function) Method
Finds an object, that would give the f function its name, when f has no its instance name parts assigned (has no visible device tag). Returns NULL, if no such object exists or f don't take over a name.
Syntax
public FunctionBase FindNameGivingObject( 
   Function f
)

Parameters

f
Function, which takes over a name.
Exceptions
ExceptionDescription
Invalid parameters were found.
Null was passed to a parameter.
When page was not set before.
Remarks
Similar to the FindNameGivingFunction method but returns objects like e.g. LocationBox too.
See Also