Share via


XRPtr<Interface>::operator = (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

XRPtr<Interface>