Method GetName
GetName(ElementId)
Gets the name of an element.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
string GetName(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the element to analyze. |
Returns
| Type | Description |
|---|---|
| string | Name of the element, or null if the element has no name. |
Remarks
The name may need translation before exposing it to the user if it is a system name (see HasSystemName(ElementId)).
The name displayed to the user is obtained by the GetFriendlyName(ElementId) method.
This method is available since v7.6.