CultureInfo.NativeName 属性

定义

获取为区域性设置的显示名称,它由语言、国家/地区以及可选脚本组成。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

属性值

区域性名称。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.

适用于

另请参阅