次の方法で共有


EventBindingService.GetMethodHandlers メソッド

更新 : 2007 年 11 月

派生クラスでオーバーライドされた場合、指定したイベントを処理するメソッドのリストを返します。

名前空間 :  Microsoft.Windows.Design.Services
アセンブリ :  Microsoft.Windows.Design.Extensibility (Microsoft.Windows.Design.Extensibility.dll 内)

構文

'宣言
Public MustOverride Function GetMethodHandlers ( _
    modelEvent As ModelEvent _
) As IEnumerable(Of String)
'使用
Dim instance As EventBindingService
Dim modelEvent As ModelEvent
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetMethodHandlers(modelEvent)
public abstract IEnumerable<string> GetMethodHandlers(
    ModelEvent modelEvent
)
public:
virtual IEnumerable<String^>^ GetMethodHandlers(
    ModelEvent^ modelEvent
) abstract
public abstract function GetMethodHandlers(
    modelEvent : ModelEvent
) : IEnumerable<String>

パラメータ

戻り値

型 : System.Collections.Generic.IEnumerable<String>

modelEvent を処理するメソッドのリスト。

アクセス許可

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

参照

参照

EventBindingService クラス

EventBindingService メンバ

Microsoft.Windows.Design.Services 名前空間

ModelEditingScope

ModelEventCollection

その他の技術情報

WPF デザイナの機能拡張アーキテクチャ