XRPtr<Interface>::operator = (Compact 2013)

3/28/2014

This operator can be used to set the interface pointer, copy the interface pointer and increment the reference count, or allow for the assignment of NULL to the class.

Syntax

XRPtr& operator=(Interface* pInterface)

XRPtr& operator=(const XRPtr& cp)

XRPtr& operator=(int null)

Remarks

When this operator is used, any existing interface pointer is released.

Requirements

Header

XRPtr.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XRPtr<Interface>