Partager via


IXRInteraction.GetAttachedObjectCollectionProperty(const WCHAR *,const WCHAR *,BOOL,IXRDependencyObject *,IXRAttachedObjectCollection * *) (Compact 2013)

3/28/2014

This method returns the IXRAttachedObjectCollection corresponding to a given IXRDependencyObject.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetAttachedObjectCollectionProperty(
const WCHAR *pPropertyName,
const WCHAR *pPropertyNamespace,
BOOL IsAttachedProperty,
IXRDependencyObject *pAttachedDependencyObject,
IXRAttachedObjectCollection **ppAttachedObjectCollection)

Parameters

  • pPropertyName
    [in] Pointer to a string containing the property name.
  • pPropertyNamespace
    [in] Pointer to a string containing the property namespace.
  • IsAttachedProperty
    [in] Boolean containing true if the property is attached; otherwise, false.
  • pAttachedDependencyObject
    [in] Pointer to a core IXRAttachedObject.
  • ppAttachedObjectCollection
    [out] Pointer to an IXRAttachedObjectCollection 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