LanguageToLocalCodeString Method |  |
Gives language (local code) as text
Namespace:
SOWIDocument.Word
Assembly:
SOWIDocument.Word (in SOWIDocument.Word.dll) Version: 22.2.10.1 (22.2.10.450)
Syntaxpublic static string ToLocalCodeString(
this Languages pLanguage
)
<ExtensionAttribute>
Public Shared Function ToLocalCodeString (
pLanguage As Languages
) As String
Parameters
- pLanguage
- Type: SOWIDocument.WordLanguages
Language code
Return Value
Type:
StringLanguage text code
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Languages. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
Locale ID (LCID) text: text value defined by Microsoft Windows that consists of a language ID and a local ID that identify a particular language.
Examples
An example using extension ToLocalCodeString
SOWIDocument.Word.Languages lLanguage;
lLanguage = Languages.de_CH;
string lLocalText = lLanguage.ToLocalCodeString();
See Also