AssemblyCultureAttribute(String) 建構函式

定義

使用屬性化組件所支援的文化特性 (Culture),初始化 AssemblyCultureAttribute 類別的新執行個體。Initializes a new instance of the AssemblyCultureAttribute class with the culture supported by the assembly being attributed.

public:
 AssemblyCultureAttribute(System::String ^ culture);
public AssemblyCultureAttribute (string culture);
new System.Reflection.AssemblyCultureAttribute : string -> System.Reflection.AssemblyCultureAttribute
Public Sub New (culture As String)

參數

culture
String

屬性化組件所支援的文化特性 (Culture)。The culture supported by the attributed assembly.

備註

文化特性名稱遵循 RFC1766 名稱。The culture names follow the RFC1766 names. 格式如下:「語言」-「國家/地區」。The format is as follows: "language"-"country/region". 例如,美式英文的格式為 "en-us"。For example, the format for US English is "en-US".

適用於