IXRAttachedObjectCollection.Add(IXRAttachedObject *,int *) (Compact 2013)
3/28/2014
This method adds an object to the collection of attached objects.
Syntax
virtual HRESULT STDMETHODCALLTYPE Add(
IXRAttachedObject *pItem,
int *pIndex)
Parameters
- pItem
[in] Pointer to an object to add to the collection.
- pIndex
[in] Index location at which to add the item.
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.