Edit

Share via


CultureNotFoundException.InvalidCultureName Property

Definition

Gets the culture name that cannot be found.

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

Property Value

The invalid culture name.

Remarks

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