LabelUtils.GetLabelFor
Description:
Gets the user-visible name for a ParameterType.
Gets the user-visible name for a ParameterType.
Remarks:
The name is obtained in the current Revit language.
The name is obtained in the current Revit language.
Overloads (9):
GetLabelFor(ParameterType)
[ObsoleteAttribute("This method is deprecated in Revit 2022 and may be removed in a future version of Revit. Please use the GetLabelForSpec(ForgeTypeId) method instead.")]
public static string GetLabelFor(
ParameterType paramType
)
-
paramTypeThe ParameterType to get the user-visible name.
Return Value
string
-
Thrown when failed to get user-visible name for the input ParameterType.