IXRAttachedObject.OnAttached(IXRDependencyObject *) (Compact 2013)
3/28/2014
This method attaches the current object to an existing object.
Syntax
virtual HRESULT STDMETHODCALLTYPE OnAttached(
IXRDependencyObject* pTargetObject)
Parameters
- pTargetObject
[in] Pointer to an object to which to attach the current object.
Return Value
Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.