IFolderContents Interface

This interface is implemented by a component that represents the contents of a folder.

Properties

Countread-onlyIFolderContents

The number of files and folders in the collection.

IDL [propget] HRESULT Count([out, retval] long* pValue)
.NET Int32 Count[get]

Itemread-onlyIFolderContents

Provides access to the file or folder item at the specified index within the collection.

IDL [propget] HRESULT Item(
    [in] long nIndex,
    [out, retval] IFileSystemItem** pValue)
.NET IFileSystemItem get_Item(
    Int32 nIndex)
  • nIndex
    The index of a file or folder item within the collection.