CultureNotFoundException.InvalidCultureName Property


Gets the culture name that cannot be found.

 virtual property System::String ^ InvalidCultureName { System::String ^ get(); };
public virtual string InvalidCultureName { get; }
member this.InvalidCultureName : string
Public Overridable ReadOnly Property InvalidCultureName As String

Property Value

The invalid culture name.


If the calling code attempted to instantiate a CultureInfo object by using a culture name, the InvalidCultureName property contains the invalid name. Otherwise, its value is null.

Applies to