Поделиться через


IXRInteraction.GetBehaviors(IXRDependencyObject *,IXRBehaviorCollection * *) (Compact 2013)

3/28/2014

This method returns the IXRBehaviorCollection corresponding to a given IXRDependencyObject.

Syntax

virtual HRESULT GetBehaviors(
IXRDependencyObject *pDependencyObject,
IXRBehaviorCollection **ppBehaviorCollection)

Parameters

  • pDependencyObject
    [in] Pointer to an IXRDependencyObject for which you want to return the IXRAttachedObjectCollection.
  • ppBehaviorCollection
    [out] Pointer to an IXRBehaviorCollection 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