Reference2.Culture 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取引用的区域性字符串。 只读。
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
属性值
返回值取决于引用类型。引用 TypeValue ReturnedAssemblyCulture 字符串。 例如,"EN-US" 表示英语美国 COMLocale ID。 字符串是所引用的类型库的十六进制区域设置 ID。 例如,"0" 表示多语言,"409" 表示英语美国。
实现
- 属性
注解
区域性信息包括语言和日历规范。 有关有效字符串的信息,请参阅 CultureInfo 。