IEnumOfflineFilesItems interface

Represents a collection of IOfflineFilesItem interface pointers.

When to implement

This interface is implemented by Windows.

When to use

Use this interface to enumerate server, share, and directory objects in the Offline Files cache.

Members

The IEnumOfflineFilesItems interface inherits from the IUnknown interface. IEnumOfflineFilesItems also has these types of members:

Methods

The IEnumOfflineFilesItems interface has these methods.

MethodDescription
Clone

Creates a new instance of the enumerator with the same enumeration state as the current one.

Next

Retrieves the next item in the enumeration and advances the enumerator.

Reset

Resets the enumeration to the beginning.

Skip

Skips over the next specified number of elements in the enumeration.

 

Remarks

To obtain an instance of this interface, first obtain an instance of IOfflineFilesItemContainer using QueryInterface on an instance of one of the following interfaces:

Note  The IOfflineFilesItemContainer interface is only valid for directory, server, and share items. If QueryInterface is called for the IOfflineFilesItemContainer interface on a file item (an instance of the IOfflineFilesFileItem interface), it will fail with E_NOINTERFACE.

For a code example that shows how to use the IEnumOfflineFilesItems interface, see IOfflineFilesItemContainer::EnumItems.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Cscobj.h

DLL

Cscsvc.dll;
Cscobj.dll

See also

Offline Files API Interfaces

 

 

Show:
© 2014 Microsoft