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 ,和的值 localizedDisplayNameProperty localizedDescriptionProperty 一律為 ComponentDisplayNameComponentDescription 。 因此,資源檔中的索引鍵應該命名為相同。 DtsLocalizableAttribute類別會使用 System.Reflection.Type.GetProperty 方法來抓取這些屬性,然後呼叫 GetValue 方法來填入它們。

適用於