EventBindingService.RemoveHandlesForName Method
Removes the event handlers for the specified element.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overridable Function RemoveHandlesForName ( _
elementName As String _
) As Boolean
public virtual bool RemoveHandlesForName(
string elementName
)
public:
virtual bool RemoveHandlesForName(
String^ elementName
)
abstract RemoveHandlesForName :
elementName:string -> bool
override RemoveHandlesForName :
elementName:string -> bool
public function RemoveHandlesForName(
elementName : String
) : boolean
Parameters
- elementName
Type: System.String
The element to remove event handlers from.
Return Value
Type: System.Boolean
true if event handlers were removed; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Services Namespace