RVTDocs.com
Namespace: Autodesk.Revit.DB Class: LabelUtils

LabelUtils.GetLabelForSymbol

Method
Description:
Gets the user-visible name for a symbol.
Remarks:
The name is obtained in the current Revit language.
Syntax
public static string GetLabelForSymbol(
	ForgeTypeId symbolTypeId
)
Parameters
Parameter Type Description
symbolTypeId ForgeTypeId Identifier of the symbol to get the user-visible name.
Return Value
Exceptions
Exception Condition
ArgumentException Symbol must have a definition.
ArgumentNullException A non-optional argument was null