PhotoImportStorageMedium PhotoImportStorageMedium PhotoImportStorageMedium PhotoImportStorageMedium Class

Definition

Represents a storage medium exposed by a photo import source device.

public : sealed class PhotoImportStorageMedium : IPhotoImportStorageMediumpublic sealed class PhotoImportStorageMedium : IPhotoImportStorageMediumPublic NotInheritable Class PhotoImportStorageMedium Implements IPhotoImportStorageMedium// 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 accessing the PhotoImportSource.StorageMedia property.

Properties

AvailableSpaceInBytes AvailableSpaceInBytes AvailableSpaceInBytes AvailableSpaceInBytes

Gets the available space on the storage medium, in bytes.

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

The available space on the storage medium, in bytes.

CapacityInBytes CapacityInBytes CapacityInBytes CapacityInBytes

Gets the capacity of the storage media, in bytes.

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

The capacity of the storage media, in bytes.

Description Description Description Description

Gets a description of the storage medium.

public : PlatForm::String Description { get; }public string Description { get; }Public ReadOnly Property Description As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A description of the storage medium.

Name Name Name Name

Gets the name of the storage medium.

public : PlatForm::String Name { get; }public string Name { get; }Public ReadOnly Property Name As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name of the storage medium.

SerialNumber SerialNumber SerialNumber SerialNumber

Gets the serial number of the storage medium.

public : PlatForm::String SerialNumber { get; }public string SerialNumber { get; }Public ReadOnly Property SerialNumber As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The serial number of the storage medium.

StorageMediumType StorageMediumType StorageMediumType StorageMediumType

Gets the type of the storage medium.

public : PhotoImportStorageMediumType StorageMediumType { get; }public PhotoImportStorageMediumType StorageMediumType { get; }Public ReadOnly Property StorageMediumType As PhotoImportStorageMediumType// You can use this property in JavaScript.

SupportedAccessMode SupportedAccessMode SupportedAccessMode SupportedAccessMode

Gets a value indicating the access modes supported by the storage medium.

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

A value indicating the access modes supported by the storage medium.

Methods

Refresh() Refresh() Refresh() Refresh()

Refreshes the information about the storage medium.

public : void Refresh()public void Refresh()Public Function Refresh() As void// You can use this method in JavaScript.