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.
- id
Type: System. . :: . .UInt32
The ID 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.