LanguageName.TryCreate method (1 of 2)

Tries to create a LanguageName from the specified language tag.

public static LanguageName? TryCreate(string strName)
parameter description
strName The language tag (as defined by RFC 4646).

Return Value

The language if strName could be successfully parsed as a RFC 4646 language tag.

Remarks

TryCreate fails when strName is null.

See Also


LanguageName.TryCreate method (2 of 2)

public static bool TryCreate(string strName, out LanguageName language)

See Also