次の方法で共有


AttachedEventIdentity コンストラクタ

更新 : 2007 年 11 月

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

AttachedEventIdentity クラスの新しいインスタンスを初期化します。

名前空間 :  Microsoft.Windows.Design.Documents.Identities
アセンブリ :  Microsoft.Windows.Design.Markup (Microsoft.Windows.Design.Markup.dll 内)

構文

'宣言
Public Sub New ( _
    declaringType As Type, _
    name As String _
)
'使用
Dim declaringType As Type
Dim name As String

Dim instance As New AttachedEventIdentity(declaringType, _
    name)
public AttachedEventIdentity(
    Type declaringType,
    string name
)
public:
AttachedEventIdentity(
    Type^ declaringType, 
    String^ name
)
public function AttachedEventIdentity(
    declaringType : Type, 
    name : String
)

パラメータ

  • declaringType
    型 : System.Type

    添付イベントの宣言する型。

解説

name パラメータは、デリゲート型を受け取る、宣言する型の静的 Add<Name> メソッドおよび Remove<Name> メソッドに対応します。ここで、<Name> は Name プロパティの値で置換されます。

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

AttachedEventIdentity クラス

AttachedEventIdentity メンバ

Microsoft.Windows.Design.Documents.Identities 名前空間

その他の技術情報

WPF デザイナの機能拡張

添付イベントの概要