Partager via


IXRAttachedObjectCollection.GetItem(int,IXRAttachedObject * *) (Compact 2013)

3/28/2014

Call this method to retrieve an IXRAttachedObject item from the collection at the specified index location.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetItem(
int index,
IXRAttachedObject **ppItem)

Parameters

  • index
    [in] Index location of the object to retrieve.
  • ppItem
    [out] Pointer to an object from this collection.

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

IXRAttachedObjectCollection