Share via


IXRAttachedObjectCollection.Contains(IXRAttachedObject *,bool *) (Compact 2013)

3/28/2014

Call this method to determine whether the collection contains a specified object.

Syntax

virtual HRESULT STDMETHODCALLTYPE Contains(
IXRAttachedObject *pItem,
bool *pResult)

Parameters

  • pItem
    [in] Pointer to an object to be found in the collection.
  • pResult
    [out] Returns true if the specified object is found in the collection; otherwise, false.

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