Share via


IContactCollection::Reset Method

Resets the enumerator to before the logical first element.

Syntax

HRESULT Reset(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

A call to IContactCollection::GetCurrent immediately after IContactCollection::Reset is undefined. To get the first contact, call IContactCollection::Next first to ensure that there is one.