Combine Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Concatenates the invocation lists of two multicast (combinable) delegates.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Shared Function Combine ( _
a As Delegate, _
b As Delegate _
) As Delegate
public static Delegate Combine(
Delegate a,
Delegate b
)
public:
static Delegate^ Combine(
Delegate^ a,
Delegate^ b
)
static member Combine :
a:Delegate *
b:Delegate -> Delegate
public static function Combine(
a : Delegate,
b : Delegate
) : Delegate
Parameters
- a
Type: System. . :: . .Delegate
The combinable delegate whose invocation list comes first.
- b
Type: System. . :: . .Delegate
The combinable delegate whose invocation list comes second.
Return Value
Type: System. . :: . .Delegate
A new combinable delegate with an invocation list that concatenates the invocation lists of the a and b parameters, in that order. If b is nullNothingnullptrunita null reference (Nothing in Visual Basic), this method returns a. If a is nullNothingnullptrunita null reference (Nothing in Visual Basic), this method returns b. If both a and b are 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.