Share

Element.Name Property

A human readable name for the Element.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public virtual string Name { get; set; }

Property Value

String

Exceptions

ExceptionCondition
InvalidOperationExceptionThrown when the name of the element cannot be changed.
ArgumentExceptionThrown when the element requires a unique name and a non-unique name is set.

Remarks

The Name property is a human readable name for the element, such as Wall.

See Also

Reference

Was this information helpful?