CultureNotFoundException.InvalidCultureName 屬性

定義

取得找不到的文化特性名稱。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

屬性值

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.

適用於