IContactCollection::GetCurrent Method

Retrieves the current contact in the enumeration.

Syntax

HRESULT GetCurrent(
  [out]  IContact **ppContact
);

Parameters

ppContact [out]
IContact

If successful, contains the current contact.

Return Value

HRESULT

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

Remarks

After reset, a call to IContactCollection::GetCurrent without first calling IContactCollection::Next will fail.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Icontact.h

IDL

Icontact.idl

DLL

Wab32.dll version 6.0 or later

See Also

IContactCollection
IContactCollection::Reset

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Show: