共用方式為


PhotoImportImportItemsResult 類別

定義

表示從來源匯入媒體專案的作業結果。

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

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 引進)

備註

呼叫 PhotoImportFindItemsResult.ImportItemsAsyncPhotoImportOperation.ContinueImportingItemsAsync來取得這個類別的實例。

屬性

HasSucceeded

取得值,指出匯入作業是否成功。

ImportedItems

取得從來源匯入的專案清單。

PhotosCount

取得作業中匯入的相片數目。

PhotosSizeInBytes

取得匯入相片的大小,以位元組為單位。

Session

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

SiblingsCount

取得作業中匯入的同層級檔案數目。

SiblingsSizeInBytes

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

SidecarsCount

取得作業中匯入的側車檔案數目。

SidecarsSizeInBytes

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

TotalCount

取得作業中匯入的專案總數。

TotalSizeInBytes

取得所有匯入專案的總大小,以位元組為單位。

VideosCount

取得作業中匯入的影片數目。

VideosSizeInBytes

取得匯入影片的大小,以位元組為單位。

方法

DeleteImportedItemsFromSourceAsync()

以非同步方式刪除從來源匯入的專案。

適用於