Eplan Platform API
Eplan.EplApi.HEServices Namespace / NameService Class / FindNameGivingObject Method / FindNameGivingObject(Page,Function) Method
A page to search the result object on.
Function, which takes over a name.

In This Topic
    FindNameGivingObject(Page,Function) Method
    In This Topic
    Finds an object, that would give the f function its name, if 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( 
       Page page,
       Function f
    )
    public:
    FunctionBase^ FindNameGivingObject( 
       Page^ page,
       Function^ f
    ) 

    Parameters

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