Remove Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes the invocation list of a specified delegate from the invocation list of another specified delegate.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Shared Function Remove ( _
a As Delegate, _
b As Delegate _
) As Delegate
public static Delegate Remove(
Delegate a,
Delegate b
)
public:
static Delegate^ Remove(
Delegate^ a,
Delegate^ b
)
static member Remove :
a:Delegate *
b:Delegate -> Delegate
public static function Remove(
a : Delegate,
b : Delegate
) : Delegate
Parameters
- a
Type: System. . :: . .Delegate
The delegate from which you want to remove the invocation list.
- b
Type: System. . :: . .Delegate
The delegate that supplies the invocation list you want to remove from the delegate specified in a.
Return Value
Type: System. . :: . .Delegate
A new delegate with an invocation list formed by taking the invocation list of the a parameter and removing the invocation list of the b parameter, if b's invocation list is found in a's invocation list. If b is nullNothingnullptrunita null reference (Nothing in Visual Basic), or if b's invocation list is not found in a's invocation list, this method returns a. If b's invocation list is equal to a's invocation list, or if b is nullNothingnullptrunita null reference (Nothing in Visual Basic), this method returns nullNothingnullptrunita null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.