Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IReferenceTrackerTarget::AddRefFromReferenceTracker method

Indicates that the reference tracker is returning the target XAML object(s) from previous calls to FindTrackerTargets. Note that the reference is held by the reference tracker object in lieu of IUnknown::AddRef.

Syntax


ULONG AddRefFromReferenceTracker();

Parameters

This method has no parameters.

Remarks

When the XAML framework keeps this reference in lieu of a COM reference, it indicates that the framework must call your implementation of Peg to ensure that the target does not get collected.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Windows.ui.xaml.hosting.referencetracker.h

IDL

Windows.ui.xaml.hosting.referencetracker.idl

See also

IReferenceTrackerTarget

 

 

Community Additions

Show:
© 2015 Microsoft