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). |
The language if strName could be successfully parsed as a RFC 4646 language tag.
TryCreate fails when strName is null.
public static bool TryCreate(string strName, out LanguageName language)