次の方法で共有


EventBindingService.RemoveHandlesForName メソッド

更新 : 2008 年 7 月

指定した要素のイベント ハンドラを削除します。

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

構文

'宣言
Public Overridable Function RemoveHandlesForName ( _
    elementName As String _
) As Boolean
'使用
Dim instance As EventBindingService
Dim elementName As String
Dim returnValue As Boolean

returnValue = instance.RemoveHandlesForName(elementName)
public virtual bool RemoveHandlesForName(
    string elementName
)
public:
virtual bool RemoveHandlesForName(
    String^ elementName
)
public function RemoveHandlesForName(
    elementName : String
) : boolean

パラメータ

  • elementName
    型 : System.String

    イベント ハンドラを削除する要素。

戻り値

型 : System.Boolean

イベント ハンドラが削除された場合は true。それ以外の場合は false。

アクセス許可

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

参照

参照

EventBindingService クラス

EventBindingService メンバ

Microsoft.Windows.Design.Services 名前空間

履歴の変更

日付

履歴

理由

2008 年 7 月

新しいメンバを追加。

SP1 機能変更