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

LabelUtils.GetLabelFor(BuiltInCategory)

Method
Description:
Gets the user-visible name for a BuiltInCategory.
Remarks:
The name is obtained in the current Revit language.
Syntax
public static string GetLabelFor(
	BuiltInCategory builtInCategory
)
Parameters
Parameter Type Description
builtInCategory BuiltInCategory The BuiltInCategory to get the user-visible name.
Return Value
Exceptions
Exception Condition
InvalidOperationException Thrown when the builtin category is not valid.