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

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

See Also

Reference

WeakDelegate Class

Microsoft.SPOT Namespace