XsltLibrary.LangToLcid(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the language identifier (as specified in the xml:lang
attribute) to the culture identifier (LCID).
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
int LangToLcid(System::String ^ lang, bool forwardCompatibility);
public int LangToLcid (string lang, bool forwardCompatibility);
member this.LangToLcid : string * bool -> int
Public Function LangToLcid (lang As String, forwardCompatibility As Boolean) As Integer
Parameters
- lang
- String
String that indicates language.
- forwardCompatibility
- Boolean
true
to indicate language is forward compatible; otherwise, false
.
Returns
A string that contains the culture identifier.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.