ImageScannerScanResult ImageScannerScanResult ImageScannerScanResult ImageScannerScanResult ImageScannerScanResult Class


Represents the result of a scan job.

public : sealed class ImageScannerScanResult : IImageScannerScanResult
struct winrt::Windows::Devices::Scanners::ImageScannerScanResult : IImageScannerScanResult
public sealed class ImageScannerScanResult : IImageScannerScanResult
Public NotInheritable Class ImageScannerScanResult Implements IImageScannerScanResult
// This class does not provide a public constructor.
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.Scanners.ScannerDeviceContract (introduced v1)


ScannedFiles ScannedFiles ScannedFiles ScannedFiles ScannedFiles

Gets the list of scanned image files that was produced by the completed scan job.

public : IVectorView<StorageFile> ScannedFiles { get; }
IVectorView<StorageFile> ScannedFiles();
public IReadOnlyList<StorageFile> ScannedFiles { get; }
Public ReadOnly Property ScannedFiles As IReadOnlyList<StorageFile>
var iReadOnlyList = imageScannerScanResult.scannedFiles;
IReadOnlyList<StorageFile> IReadOnlyList<StorageFile> IReadOnlyList<StorageFile>

A list of scanned image files from the completed scan job. If there is no scanned file, the IVectorView;.Size property will be 0.


When nothing is scanned, the IVectorView<T>.Size property will be set to 0. The app should check the size to make sure there are actual files before attempting to access the files.