CultureNotFoundException.InvalidCultureId 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 identifier that cannot be found.
public:
virtual property Nullable<int> InvalidCultureId { Nullable<int> get(); };
public virtual int? InvalidCultureId { get; }
member this.InvalidCultureId : Nullable<int>
Public Overridable ReadOnly Property InvalidCultureId As Nullable(Of Integer)
Property Value
The invalid culture identifier.
Remarks
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
.