Retrieves the object that is the target of the specified weak reference that was created by the msSetWeakWinRTProperty function.
var object = msGetWeakWinRTProperty(winRtObject, name);
The Windows Runtime object that stored the weak reference. If this object is null or is not a Windows Runtime object, this function throws a TypeError exception.
The name of the weak reference.
The weakly referenced object, if it still exists. If the object was reclaimed by the garbage collector or there isn't a weak reference associated with the specified name, this function returns null.
Minimum supported client
Minimum supported server
|Windows Server 2012|