Share via


PhotoImportImportItemsResult Class

Definition

Represents the result of a operation that imports media items from the source.

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
Inheritance
Object Platform::Object IInspectable PhotoImportImportItemsResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by calling PhotoImportFindItemsResult.ImportItemsAsync or PhotoImportOperation.ContinueImportingItemsAsync.

Properties

HasSucceeded

Gets a value indicating whether the import operation has succeeded.

ImportedItems

Gets a list of items that were imported from the source.

PhotosCount

Gets the number of photos imported in the operation.

PhotosSizeInBytes

Gets the size of the imported photos, in bytes.

Session

Gets the photo import session associated with the import operation.

SiblingsCount

Gets the number of sibling files imported in the operation.

SiblingsSizeInBytes

Gets the size of the imported sidecar files, in bytes.

SidecarsCount

Gets the number of sidecar files imported in the operation.

SidecarsSizeInBytes

Gets the size of the imported sidecar files, in bytes.

TotalCount

Gets the total number of items imported in the operation.

TotalSizeInBytes

Gets the total size of the all imported items, in bytes.

VideosCount

Gets the number of videos imported in the operation.

VideosSizeInBytes

Gets the size of the imported videos, in bytes.

Methods

DeleteImportedItemsFromSourceAsync()

Asynchronously deletes the items that were imported from the source.

Applies to