共用方式為


Reference2.Culture Property

Definition

Gets the culture string of a reference. Read-only.

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

Property Value

The return value depends on the reference type.Reference TypeValue ReturnedAssemblyCulture string. For example, "EN-US" for English - United States.COMLocale ID. The string is the hex locale ID of the type library being reference. For example, "0" for multilanguage or "409" for English - United States.

Implements

Attributes

Remarks

Culture information includes language and calendar specifications. For information about valid strings, see CultureInfo.

Applies to