Reference2.Culture 属性

定义

获取引用的区域性字符串。 只读。

public:
 property System::String ^ Culture { System::String ^ get(); };
public:
 property Platform::String ^ Culture { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(10)]
public string Culture { [System.Runtime.InteropServices.DispId(10)] get; }
[<System.Runtime.InteropServices.DispId(10)>]
[<get: System.Runtime.InteropServices.DispId(10)>]
member this.Culture : string
Public ReadOnly Property Culture As String

属性值

String

返回值取决于引用类型。引用 TypeValue ReturnedAssemblyCulture 字符串。 例如,"EN-US" 表示英语美国 COMLocale ID。 字符串是所引用的类型库的十六进制区域设置 ID。 例如,"0" 表示多语言,"409" 表示英语美国。

实现

属性

注解

区域性信息包括语言和日历规范。 有关有效字符串的信息,请参阅 CultureInfo

适用于