PhotoImportImportItemsResult PhotoImportImportItemsResult PhotoImportImportItemsResult PhotoImportImportItemsResult Class

Definition

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

public : sealed class PhotoImportImportItemsResult : IPhotoImportImportItemsResultpublic sealed class PhotoImportImportItemsResult : IPhotoImportImportItemsResultPublic NotInheritable Class PhotoImportImportItemsResult Implements IPhotoImportImportItemsResult// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

HasSucceeded HasSucceeded HasSucceeded HasSucceeded

Gets a value indicating whether the import operation has succeeded.

public : PlatForm::Boolean HasSucceeded { get; }public bool HasSucceeded { get; }Public ReadOnly Property HasSucceeded As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the import operation has succeeded; otherwise, false.

ImportedItems ImportedItems ImportedItems ImportedItems

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

public : IVectorView<PhotoImportItem> ImportedItems { get; }public IReadOnlyList<PhotoImportItem> ImportedItems { get; }Public ReadOnly Property ImportedItems As IReadOnlyList<PhotoImportItem>// You can use this property in JavaScript.
Value
IVectorView<PhotoImportItem> IReadOnlyList<PhotoImportItem> IReadOnlyList<PhotoImportItem> IReadOnlyList<PhotoImportItem>

A list of items that were imported from the source.

PhotosCount PhotosCount PhotosCount PhotosCount

Gets the number of photos imported in the operation.

public : unsigned int PhotosCount { get; }public uint PhotosCount { get; }Public ReadOnly Property PhotosCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of photos imported in the operation.

PhotosSizeInBytes PhotosSizeInBytes PhotosSizeInBytes PhotosSizeInBytes

Gets the size of the imported photos, in bytes.

public : ulong PhotosSizeInBytes { get; }public ulong PhotosSizeInBytes { get; }Public ReadOnly Property PhotosSizeInBytes As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The size of the imported photos, in bytes.

Session Session Session Session

Gets the photo import session associated with the import operation.

public : PhotoImportSession Session { get; }public PhotoImportSession Session { get; }Public ReadOnly Property Session As PhotoImportSession// You can use this property in JavaScript.
Value
PhotoImportSession PhotoImportSession PhotoImportSession PhotoImportSession

The photo import session associated with the import operation.

SiblingsCount SiblingsCount SiblingsCount SiblingsCount

Gets the number of sibling files imported in the operation.

public : unsigned int SiblingsCount { get; }public uint SiblingsCount { get; }Public ReadOnly Property SiblingsCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of sibling files imported in the operation.

SiblingsSizeInBytes SiblingsSizeInBytes SiblingsSizeInBytes SiblingsSizeInBytes

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

public : ulong SiblingsSizeInBytes { get; }public ulong SiblingsSizeInBytes { get; }Public ReadOnly Property SiblingsSizeInBytes As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The size of the imported sidecar files, in bytes.

SidecarsCount SidecarsCount SidecarsCount SidecarsCount

Gets the number of sidecar files imported in the operation.

public : unsigned int SidecarsCount { get; }public uint SidecarsCount { get; }Public ReadOnly Property SidecarsCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of sidecar files imported in the operation.

SidecarsSizeInBytes SidecarsSizeInBytes SidecarsSizeInBytes SidecarsSizeInBytes

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

public : ulong SidecarsSizeInBytes { get; }public ulong SidecarsSizeInBytes { get; }Public ReadOnly Property SidecarsSizeInBytes As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The size of the imported sidecar files, in bytes.

TotalCount TotalCount TotalCount TotalCount

Gets the total number of items imported in the operation.

public : unsigned int TotalCount { get; }public uint TotalCount { get; }Public ReadOnly Property TotalCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The total number of items imported in the operation.

TotalSizeInBytes TotalSizeInBytes TotalSizeInBytes TotalSizeInBytes

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

public : ulong TotalSizeInBytes { get; }public ulong TotalSizeInBytes { get; }Public ReadOnly Property TotalSizeInBytes As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

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

VideosCount VideosCount VideosCount VideosCount

Gets the number of videos imported in the operation.

public : unsigned int VideosCount { get; }public uint VideosCount { get; }Public ReadOnly Property VideosCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of videos imported in the operation.

VideosSizeInBytes VideosSizeInBytes VideosSizeInBytes VideosSizeInBytes

Gets the size of the imported videos, in bytes.

public : ulong VideosSizeInBytes { get; }public ulong VideosSizeInBytes { get; }Public ReadOnly Property VideosSizeInBytes As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The size of the imported videos, in bytes.

Methods

DeleteImportedItemsFromSourceAsync() DeleteImportedItemsFromSourceAsync() DeleteImportedItemsFromSourceAsync() DeleteImportedItemsFromSourceAsync()

Asynchronously deletes the items that were imported from the source.

public : IAsyncOperationWithProgress<PhotoImportDeleteImportedItemsFromSourceResult, double> DeleteImportedItemsFromSourceAsync()public IAsyncOperationWithProgress<PhotoImportDeleteImportedItemsFromSourceResult, double> DeleteImportedItemsFromSourceAsync()Public Function DeleteImportedItemsFromSourceAsync() As IAsyncOperationWithProgress( Of PhotoImportDeleteImportedItemsFromSourceResult, double )// You can use this method in JavaScript.
Returns