Recover Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Recovers a specific ExtendedWeakReference object.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public Shared Function Recover ( _
    selector As Type, _
    id As UInteger _
) As ExtendedWeakReference
public static ExtendedWeakReference Recover(
    Type selector,
    uint id
)
public:
static ExtendedWeakReference^ Recover(
    Type^ selector, 
    unsigned int id
)
static member Recover : 
        selector:Type * 
        id:uint32 -> ExtendedWeakReference 
public static function Recover(
    selector : Type, 
    id : uint
) : ExtendedWeakReference

Parameters

  • selector
    Type: System. . :: . .Type
    The type associated with the weak reference you want to recover.

Return Value

Type: Microsoft.SPOT. . :: . .ExtendedWeakReference
A weak reference, or nullNothingnullptrunita null reference (Nothing in Visual Basic) if there are no more weak references to be recovered.

Remarks

You can call this method multiple times to recover all of the weak references associated with a specific type or ID.

.NET Framework Security

See Also

Reference

ExtendedWeakReference Class

Microsoft.SPOT Namespace