CultureNotFoundException.InvalidCultureId Property


Gets the culture identifier that cannot be found.

 virtual property Nullable<int> InvalidCultureId { Nullable<int> get(); };
public virtual Nullable<int> InvalidCultureId { get; }
member this.InvalidCultureId : Nullable<int>
Public Overridable ReadOnly Property InvalidCultureId As Nullable(Of Integer)

Property Value

The invalid culture identifier.


If the calling code attempted to instantiate or retrieve a CultureInfo object by using an invalid culture identifier, the Value property of the Nullable<T> object returned by the InvalidCultureId property contains the invalid identifier. Otherwise, its HasValue property is false.

Applies to