語言

DtsLocalizableAttribute(String, String) 建構函式

定義

初始化 DtsLocalizableAttribute 類別的新執行個體。

protected:
 DtsLocalizableAttribute(System::String ^ localizedDisplayNameProperty, System::String ^ localizedDescriptionProperty);
protected DtsLocalizableAttribute(string localizedDisplayNameProperty, string localizedDescriptionProperty);
new Microsoft.SqlServer.Dts.Pipeline.Localization.DtsLocalizableAttribute : string * string -> Microsoft.SqlServer.Dts.Pipeline.Localization.DtsLocalizableAttribute
Protected Sub New (localizedDisplayNameProperty As String, localizedDescriptionProperty As String)

參數

localizedDisplayNameProperty
String

用來查詢 DisplayName 資源類別中的屬性名稱。

localizedDescriptionProperty
String

用來查詢 Description 資源類別中的屬性名稱。

備註

使用時DtsPipelineComponentAttribute,與localizedDescriptionProperty的localizedDisplayNameProperty值總是ComponentDisplayNameComponentDescription且。 因此,資源檔案中的鍵應該命名相同。 類別 DtsLocalizableAttribute 會使用 該 System.Reflection.Type.GetProperty 方法來取得這些屬性,然後呼叫該 GetValue 方法來填充它們。

適用於