Eplan Platform API
Eplan.EplApi.HEServices Namespace / NameService Class / RenameDevice Method / RenameDevice(Function,FunctionBasePropertyList,Boolean,Boolean) Method
Function from device which name will be changed.
Name that will be set to functions of device.
If true then connection of this device (example: wires of cable) also will be renamed.
IF true then describing properties of functions will not be changed.

In This Topic
    RenameDevice(Function,FunctionBasePropertyList,Boolean,Boolean) Method
    In This Topic
    Rename all functions of device.
    Syntax

    Parameters

    Parameter NameDescription
    pFunctionFunction from device which name will be changed.
    pNewNameName that will be set to functions of device.
    bRenameCDPsAlsoIf true then connection of this device (example: wires of cable) also will be renamed.
    bKeepDescribingPropsIF true then describing properties of functions will not be changed.
    Exceptions
    ExceptionDescription
    Invalid parameters were found.
    Thrown if NULL was passed as a required parameter.
    See Also