Gets the text that is associated with an item and specified by the identifier parameter. Such an identifier can be the string conversion of an enumeration that is associated with an item (such as Ribbon
public static string GetText(string identifier);
Public Shared Function GetText(ByVal identifier As String) As String
public static string GetText(string identifier, System.Globalization.CultureInfo culture);
Public Shared Function GetText(ByVal identifier As String, ByVal culture As System.Globalization.CultureInfo) As string
Parameter | Description |
---|---|
identifier | The identifier of the item that is associated with the requested text. |
culture | Specifies the language in which the text is returned. |
The text that is assigned to the item. If no text is associated with the source, the method returns an empty string.