CultureInfo.NativeName 屬性

定義

取得文化特性設定為要顯示的文化特性名稱,由語言、國家/地區和選擇性 (Optional) 指令碼組成。Gets the culture name, consisting of the language, the country/region, and the optional script, that the culture is set to display.

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

屬性值

String

文化特性名稱,由語言的完整名稱、國家/地區的完整名稱和選擇性的腳本所組成。The culture name, consisting of the full name of the language, the full name of the country/region, and the optional script. 這種格式會在 CultureInfo 類別的描述中討論。The format is discussed in the description of the CultureInfo class.

備註

無論 .NET Framework 的語言版本為何,這個屬性的值都相同。The value of this property is the same, regardless of the language version of the .NET Framework.

適用於

另請參閱