IContactCollection::Reset method (icontact.h)

Resets the enumerator to before the logical first element.

Syntax

HRESULT Reset();

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header icontact.h
DLL Wab32.dll (Version 6.0 or later)