PhotoImportFindItemsResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the result of a operation that finds media items on a source.
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
- Inheritance
- 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 PhotoImportSession.FindItemsAsync.
Version history
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | AddItemsInDateRangeToSelection |
Properties
FoundItems |
Gets a list of items that were found on the source. |
HasSucceeded |
Gets a value indicating whether the find operation has succeeded. |
ImportMode |
Gets the photo import mode that determines which types of files are included in the ImportItemsAsync operation. |
PhotosCount |
Gets the number of photos found on the source. |
PhotosSizeInBytes |
Gets the size of the photos found on the source, in bytes. |
SelectedPhotosCount |
Gets the number of photos that are currently selected to be included in the ImportItemsAsync operation. |
SelectedPhotosSizeInBytes |
Gets the size of the photos that are currently selected to be included in the ImportItemsAsync operation, in bytes. |
SelectedSiblingsCount |
Gets the number of sibling files that are currently selected to be included in the ImportItemsAsync operation. |
SelectedSiblingsSizeInBytes |
Gets the size of the sibling files that are currently selected to be included in the ImportItemsAsync operation, in bytes. |
SelectedSidecarsCount |
Gets the number of sidecar files that are currently selected to be included in the ImportItemsAsync operation. |
SelectedSidecarsSizeInBytes |
Gets the size of the sidecar files that are currently selected to be included in the ImportItemsAsync operation, in bytes. |
SelectedTotalCount |
Gets the total number of items that are currently selected to be included in the ImportItemsAsync operation. |
SelectedTotalSizeInBytes |
Gets the total size of the all items that are currently selected to be included in the ImportItemsAsync operation, in bytes. |
SelectedVideosCount |
Gets the number of videos that are currently selected to be included in the ImportItemsAsync operation. |
SelectedVideosSizeInBytes |
Gets the size of the videos that are currently selected to be included in the ImportItemsAsync operation, in bytes. |
Session |
Gets the photo import session associated with the find operation. |
SiblingsCount |
Gets the number of sibling files found on the source. |
SiblingsSizeInBytes |
Gets the size of the found sibling files, in bytes. |
SidecarsCount |
Gets the number of sidecar files found on the source. |
SidecarsSizeInBytes |
Gets the size of the found sidecar files, in bytes. |
TotalCount |
Gets the total number of items found on the source. |
TotalSizeInBytes |
Gets the total size of all items found on the source, in bytes. |
VideosCount |
Gets the number of videos found on the source. |
VideosSizeInBytes |
Gets the size of the videos found on the source, in bytes. |
Methods
AddItemsInDateRangeToSelection(DateTime, TimeSpan) |
Adds all items in the specified date range to the current selection. |
ImportItemsAsync() |
Asynchronously imports the selected items from the source. |
SelectAll() |
Selects all items found on the source to be included in the ImportItemsAsync operation. |
SelectNewAsync() |
Selects all new items found on the source to be included in the ImportItemsAsync operation. |
SelectNone() |
Deselects all items found on the source, preventing them from being included in the ImportItemsAsync operation. |
SetImportMode(PhotoImportImportMode) |
Sets the photo import mode that determines which types of files are included in the ImportItemsAsync operation. |
Events
ItemImported |
Occurs when an item is imported. |
SelectionChanged |
Occurs when the set of items selected to be included in the ImportItemsAsync operation changes. |