msSetWeakWinRTProperty
Retrieves the object that is the target of the specified weak reference that was created by the msSetWeakWinRTProperty function.
msSetWeakWinRTProperty(winRtObject, name, objectToReference)
Parameters
- winRtObject
-
Type: Object
The Windows Runtime object that stores the weak reference. If this object is null or is not a Windows Runtime object, this function throws a TypeError exception.
- name
-
Type: String
The name of the weak reference. You can use this name to retrieve the referenced object later.
- objectToReference
-
Type: Object
The object to reference. If all other references to this object go out of scope, the JavaScript garbage collector may reclaim it.
Return value
This function does not have a return value.
Requirements
|
Minimum supported client |
Windows 8 |
|---|---|
|
Minimum supported server |
Windows Server 2012 |
See also
Show: