Share via


PhotoImportFindItemsResult 類別

定義

表示在來源上尋找媒體專案的作業結果。

public ref class PhotoImportFindItemsResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PhotoImportFindItemsResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PhotoImportFindItemsResult
Public NotInheritable Class PhotoImportFindItemsResult
繼承
Object Platform::Object IInspectable PhotoImportFindItemsResult
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

呼叫 PhotoImportSession.FindItemsAsync來取得這個類別的實例。

版本歷程記錄

Windows 版本 SDK 版本 新增值
1607 14393 AddItemsInDateRangeToSelection

屬性

FoundItems

取得在來源上找到的專案清單。

HasSucceeded

取得值,指出尋找作業是否成功。

ImportMode

取得相片匯入模式,決定 ImportItemsAsync 作業中包含的檔案類型。

PhotosCount

取得來源上找到的相片數目。

PhotosSizeInBytes

取得來源上找到的相片大小,以位元組為單位。

SelectedPhotosCount

取得目前選取要包含在 ImportItemsAsync 作業中的相片數目。

SelectedPhotosSizeInBytes

取得目前選取要包含在 ImportItemsAsync 作業中的相片大小,以位元組為單位。

SelectedSiblingsCount

取得目前選取要包含在 ImportItemsAsync 作業中的同層級檔案數目。

SelectedSiblingsSizeInBytes

取得目前選取要包含在 ImportItemsAsync 作業中的同層級檔案大小,以位元組為單位。

SelectedSidecarsCount

取得目前選取要包含在 ImportItemsAsync 作業中的側車檔案數目。

SelectedSidecarsSizeInBytes

取得目前選取要包含在 ImportItemsAsync 作業中的 Sidecar 檔案大小,以位元組為單位。

SelectedTotalCount

取得目前選取要包含在 ImportItemsAsync 作業中的專案總數。

SelectedTotalSizeInBytes

取得目前選取要包含在 ImportItemsAsync 作業中之所有專案的大小總計,以位元組為單位。

SelectedVideosCount

取得目前選取要包含在 ImportItemsAsync 作業中的影片數目。

SelectedVideosSizeInBytes

取得目前選取要包含在 ImportItemsAsync 作業中的影片大小,以位元組為單位。

Session

取得與尋找作業相關聯的相片匯入會話。

SiblingsCount

取得來源上找到的同層級檔案數目。

SiblingsSizeInBytes

取得所找到同層級檔案的大小,以位元組為單位。

SidecarsCount

取得來源上找到的側車檔案數目。

SidecarsSizeInBytes

取得找到側車檔案的大小,以位元組為單位。

TotalCount

取得在來源上找到的專案總數。

TotalSizeInBytes

取得來源上找到的所有專案大小總計,以位元組為單位。

VideosCount

取得來源上找到的影片數目。

VideosSizeInBytes

取得來源上找到的影片大小,以位元組為單位。

方法

AddItemsInDateRangeToSelection(DateTime, TimeSpan)

將指定日期範圍中的所有專案加入至目前的選取範圍。

ImportItemsAsync()

以非同步方式從來源匯入選取的專案。

SelectAll()

選取來源上找到的所有專案,以包含在 ImportItemsAsync 作業中。

SelectNewAsync()

選取要包含在 ImportItemsAsync 作業中來源上的所有新專案。

SelectNone()

取消選取來源上找到的所有專案,以防止匯入 ItemsAsync 作業中包含這些專案。

SetImportMode(PhotoImportImportMode)

設定相片匯入模式,以決定 ImportItemsAsync 作業中包含的檔案類型。

事件

ItemImported

發生于匯入專案時。

SelectionChanged

發生于選取要包含在 ImportItemsAsync 作業中的專案集變更時。

適用於