言語

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を使うと、localizedDisplayNamePropertylocalizedDescriptionPropertyの値は常にComponentDisplayNameかつComponentDescriptionです。 したがって、リソースファイルのキーは同じ名前で設定されるべきです。 DtsLocalizableAttributeクラスはSystem.Reflection.Type.GetPropertyメソッドを使ってこれらのプロパティを取得し、その後GetValueメソッドを呼び出してそれらを埋め込みます。

適用対象