Partager via


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

3/28/2014

This method inserts an object into the collection.

Syntax

virtual HRESULT STDMETHODCALLTYPE Insert(
int index,
IXRAttachedObject *pItem)

Parameters

  • index
    [in] Index location at which to insert the item.
  • pItem
    [in] Pointer to an object to insert into the 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