Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
When overridden in a derived class, requests that a specific method stop handling a specific event by removing it from an event handling class.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function RemoveMethod ( _
modelEvent As ModelEvent, _
methodName As String _
) As Boolean
public abstract bool RemoveMethod(
ModelEvent modelEvent,
string methodName
)
public:
virtual bool RemoveMethod(
ModelEvent^ modelEvent,
String^ methodName
) abstract
abstract RemoveMethod :
modelEvent:ModelEvent *
methodName:string -> bool
public abstract function RemoveMethod(
modelEvent : ModelEvent,
methodName : String
) : boolean
Parameters
- modelEvent
Type: Microsoft.Windows.Design.Model.ModelEvent
The event to stop handling.
- methodName
Type: System.String
The method to stop handling modelEvent.
Return Value
Type: System.Boolean
true if methodName is successfully removed from the event handling class; otherwise, false.
Remarks
This request is ignored if the method is not empty.
.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