Muokkaa

Jaa


CultureNotFoundException.InvalidCultureId Property

Definition

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.

Applies to