PhotoImportItem PhotoImportItem PhotoImportItem PhotoImportItem PhotoImportItem Class


Represents an media item that has been imported from a source.

public : sealed class PhotoImportItem
struct winrt::Windows::Media::Import::PhotoImportItem
public sealed class PhotoImportItem
Public NotInheritable Class PhotoImportItem
// This class does not provide a public constructor.

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)


Get an instance of this class by calling one of the following methods.

For how-to guidance for adding media import to your app, see Import media from a device.

Version history

Windows version SDK version Value added
1809 17763 Path


ContentType ContentType ContentType ContentType ContentType

Gets the content type of the imported item.

Date Date Date Date Date

Gets the creation date of the imported item.

DeletedFileNames DeletedFileNames DeletedFileNames DeletedFileNames DeletedFileNames

Gets a list of the names of files associated with this item that were deleted.

ImportedFileNames ImportedFileNames ImportedFileNames ImportedFileNames ImportedFileNames

Gets a list of the names of files associated with this item that were imported.

IsSelected IsSelected IsSelected IsSelected IsSelected

Gets a value indicating whether the item is currently selected for import.

ItemKey ItemKey ItemKey ItemKey ItemKey

Gets the key used to identify the item.

Name Name Name Name Name

Gets the name of the item.

Path Path Path Path Path

Gets the file system path of the PhotoImportItem.

Sibling Sibling Sibling Sibling Sibling

Gets the sibling file associated with the item, if one exists.

Sidecars Sidecars Sidecars Sidecars Sidecars

Gets the list of sidecar files associated with the item, if any exists.

SizeInBytes SizeInBytes SizeInBytes SizeInBytes SizeInBytes

Gets the size of the item, in bytes.

Thumbnail Thumbnail Thumbnail Thumbnail Thumbnail

Gets a random access stream containing the thumbnail image associated with the item.

VideoSegments VideoSegments VideoSegments VideoSegments VideoSegments

Gets the list of video segments associated with the item.

See also