XsltLibrary.LangToLcid(String, Boolean) Method

Definition

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(string lang, bool forwardCompatibility);

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

Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1