IXRAttachedObjectCollection.IndexOf(IXRAttachedObject *,int *) (Compact 2013)
3/28/2014
Call this method to find the index of an object in the collection.
Syntax
virtual HRESULT STDMETHODCALLTYPE IndexOf(
IXRAttachedObject *pItem,
int *pIndex)
Parameters
- pItem
[in] Pointer to an object to add to the collection.
- pIndex
[out] Index of the item to find.
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.