Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
This method encapsulates a raw interface pointer in this smart pointer's type.
Syntax
void Attach(
Interface* pInterface,
bool fAddRef
)
Parameters
- pInterface
[in] A raw interface pointer to a Silverlight object.
- fAddRef
[in] Boolean that indicates whether to increment the reference count by calling IUnknown::AddRef. If it is true, then AddRef is called. If it is false, the smart pointer takes ownership of the raw interface pointer without calling AddRef.
Return Value
None.
Remarks
This method releases any previously acquired interface.
Requirements
| Header | XRPtr.h |
| sysgen | SYSGEN_XAML_RUNTIME |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |