Share via


EventBindingService.RemoveHandlesForName Method

Removes the event handlers for the specified element.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Overridable Function RemoveHandlesForName ( _
    elementName As String _
) As Boolean
'Usage
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

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

See Also

Reference

EventBindingService Class

EventBindingService Members

Microsoft.Windows.Design.Services Namespace

Change History

Date

History

Reason

July 2008

Added new member.

SP1 feature change.