Partager via


IXRInteraction.GetAttachedObject(IXRDependencyObject *,IXRAttachedObject * *) (Compact 2013)

3/28/2014

This method gets the IXRAttachedObject corresponding to a given core IXRDependencyObject.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetAttachedObject(
IXRDependencyObject *pAttachedDependencyObject,
IXRAttachedObject **ppAttachedObject)

Parameters

  • pAttachedDependencyObject
    [in] Core representation of the IXRAttachedObject.
  • ppAttachedObject
    [out] Pointer to an IXRAttachedObject pointer.

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.

Remarks

See Also

Reference

IXRInteraction