LabelUtils.GetLabelForBuiltInParameter(ForgeTypeId, LanguageType)
Method
Description:
Gets the user-visible name for a built-in parameter in a specific LanguageType.
Gets the user-visible name for a built-in parameter in a specific LanguageType.
Syntax
public static string GetLabelForBuiltInParameter(
ForgeTypeId parameterTypeId,
LanguageType language
)
Parameters
Parameter | Type | Description |
---|---|---|
parameterTypeId | ForgeTypeId | Identifier of the built-in parameter to get the user-visible name. |
language | LanguageType | The desired LanguageType to get the user-visible name in. |
Return Value
Type | Description |
---|---|
String | The built-in parameter name in the desired LanguageType. |
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the built-in parameter cannot be found. |
InvalidOperationException | Thrown when the desired LanguageType cannot be found for the built-in parameter name. |