Edit

Share via


Language Constructors

Definition

Overloads

Name Description
Language(CultureInfo)

Initializes a new instance of the Language class from a CultureInfo.

Language(String)

Initializes a new instance of the Language class from a BCP 47 language tag string.

Language(CultureInfo)

Initializes a new instance of the Language class from a CultureInfo.

public Language(System.Globalization.CultureInfo culture);

Parameters

culture
CultureInfo

The culture to create the language from.

Applies to

Language(String)

Initializes a new instance of the Language class from a BCP 47 language tag string.

public Language(string name);

Parameters

name
String

The BCP 47 language tag string (for example, "en" or "en-US").

Applies to