CultureNotFoundException.InvalidCultureName CultureNotFoundException.InvalidCultureName CultureNotFoundException.InvalidCultureName CultureNotFoundException.InvalidCultureName Property

定義

取得找不到的文化特性名稱。Gets the culture name that cannot be found.

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

屬性值

無效的文化特性名稱。The invalid culture name.

備註

如果呼叫程式碼嘗試使用文化特性CultureInfo名稱來具現化物件, 則InvalidCultureName屬性會包含不正確名稱。If the calling code attempted to instantiate a CultureInfo object by using a culture name, the InvalidCultureName property contains the invalid name. 否則, 其值為nullOtherwise, its value is null.

適用於