Share via


PhotoImportStorageMedium Class

Definition

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

public ref class PhotoImportStorageMedium sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PhotoImportStorageMedium final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PhotoImportStorageMedium
Public NotInheritable Class PhotoImportStorageMedium
Inheritance
Object Platform::Object IInspectable PhotoImportStorageMedium
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 accessing the PhotoImportSource.StorageMedia property.

Properties

AvailableSpaceInBytes

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

CapacityInBytes

Gets the capacity of the storage media, in bytes.

Description

Gets a description of the storage medium.

Name

Gets the name of the storage medium.

SerialNumber

Gets the serial number of the storage medium.

StorageMediumType

Gets the type of the storage medium.

SupportedAccessMode

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

Methods

Refresh()

Refreshes the information about the storage medium.

Applies to