_XRValueCollectionBaseT.Contains(XRValue *,bool *) (Compact 7)
3/12/2014
This method determines whether the specified XRValue object is in the collection.
Syntax
HRESULT STDMETHODCALLTYPE Contains(
XRValue * pValue,
bool * pResult)
Parameters
- pValue
[in] Pointer to the XRValue object to locate in the collection.
- pResult
[out] Boolean value that is true if the XRValue object is at an indexed position in the collection. Otherwise, pResult is false.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
The method succeeded. |
E_FAIL |
The method was not successful. |
E_POINTER |
Either pValue or pResult is not valid. |
Requirements
Header |
XRCollection.h |
See Also
Reference
_XRValueCollectionBaseT<IFace,ItemType,ItemComparer,ItemConverter,ItemLifeManager>
_XRValueCollectionBaseT.Add(XRValue *)
_XRValueCollectionBaseT.Remove(XRValue *)