CultureNotFoundException.InvalidCultureName Property      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : stringPublic Overridable ReadOnly Property InvalidCultureName As StringProperty 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.