IEnumBackgroundCopyFiles 介面 (bits.h)

使用 IEnumBackgroundCopyFiles 介面來列舉作業所包含的檔案。 若要取得 IEnumBackgroundCopyFiles 介面指標,請呼叫 IBackgroundCopyJob::EnumFiles 方法。

繼承

IEnumBackgroundCopyFiles 介面繼承自 IUnknown 介面。 IEnumBackgroundCopyFiles 也有下列類型的成員:

方法

IEnumBackgroundCopyFiles 介面具有這些方法。

 
IEnumBackgroundCopyFiles::Clone

建立另一個 IEnumBackgroundCopyFiles 列舉值,其中包含與目前列舉狀態相同的列舉狀態。
IEnumBackgroundCopyFiles::GetCount

擷取列舉中檔案數目的計數。
IEnumBackgroundCopyFiles::Next

擷取列舉型別序列中指定的項目數目。 如果序列中剩餘的元素數目少於要求的元素數目,則會擷取其餘元素。 (IEnumBackgroundCopyFiles.Next)
IEnumBackgroundCopyFiles::Reset

將列舉序列重設為開頭。 (IEnumBackgroundCopyFiles.Reset)
IEnumBackgroundCopyFiles::Skip

略過列舉序列中下一個指定的項目數目。 如果序列中剩餘的元素數目比所要求的項目數目少,則會略過序列中的最後一個專案。 (IEnumBackgroundCopyFiles.Skip)

規格需求

需求
最低支援的用戶端 Windows XP
最低支援的伺服器 Windows Server 2003
目標平台 Windows
標頭 bits.h

另請參閱

IBackgroundCopyJob::EnumFiles

IEnumBackgroundCopyJobs