次の方法で共有


CustomComponentViewHandlerAttribute クラス

コンポーネントのユーザー インターフェイスがそれ自体でコンポーネント ビューアーを管理することをデザイン時にデータ フロー デザイナーに通知します。

継承階層

System.Object
  System.Attribute
    Microsoft.SqlServer.Dts.Pipeline.Design.CustomComponentViewHandlerAttribute

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Design
アセンブリ:  Microsoft.SqlServer.Dts.Design (Microsoft.SqlServer.Dts.Design.dll)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class CustomComponentViewHandlerAttribute _
    Inherits Attribute
'使用
Dim instance As CustomComponentViewHandlerAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class CustomComponentViewHandlerAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class CustomComponentViewHandlerAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type CustomComponentViewHandlerAttribute =  
    class 
        inherit Attribute 
    end
public final class CustomComponentViewHandlerAttribute extends Attribute

CustomComponentViewHandlerAttribute 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド CustomComponentViewHandlerAttribute CustomComponentViewHandlerAttribute の新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ TypeId (Attribute から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Attribute から継承されています。)
パブリック メソッド GetHashCode (Attribute から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
パブリック メソッド IsDefaultAttribute (Attribute から継承されています。)
パブリック メソッド Match (Attribute から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

明示的なインターフェイスの実装

  名前 説明
明示的なインターフェイスの実装プライベート メソッド _Attribute.GetIDsOfNames (Attribute から継承されています。)
明示的なインターフェイスの実装プライベート メソッド _Attribute.GetTypeInfo (Attribute から継承されています。)
明示的なインターフェイスの実装プライベート メソッド _Attribute.GetTypeInfoCount (Attribute から継承されています。)
明示的なインターフェイスの実装プライベート メソッド _Attribute.Invoke (Attribute から継承されています。)

先頭に戻る

説明

一般に、この属性は、デザイン時変更によってコンポーネントの外部に副作用がある場合や、コンポーネントがデータ フロー内の他のコンポーネントを管理する場合に使用されます。 たとえば、緩やかに変化するディメンション変換がデータ フロー コンポーネントのシーケンス全体を作成し、他のオブジェクトも削除するなどの場合です。

使用例

次のサンプルは、クラスに適用された CustomComponentViewHandlerAttribute 属性を示しています。

[CustomComponentViewHandler]
public class MyComponentUI
{
   ...
]
<CustomComponentViewHandler> _
Public Class MyComponentUI
  ...
End Class

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Dts.Pipeline.Design 名前空間