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.StringThe 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
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Added new member. |
SP1 feature change. |