共用方式為


PhotoImportStorageMedium 類別

定義

表示相片匯入來源裝置公開的儲存媒體。

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
繼承
Object Platform::Object IInspectable PhotoImportStorageMedium
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

存取 PhotoImportSource.StorageMedia 屬性,以取得這個類別的實例。

屬性

AvailableSpaceInBytes

取得儲存媒體上的可用空間,以位元組為單位。

CapacityInBytes

取得儲存媒體的容量,以位元組為單位。

Description

取得儲存媒體的描述。

Name

取得儲存媒體的名稱。

SerialNumber

取得儲存媒體的序號。

StorageMediumType

取得儲存媒體的類型。

SupportedAccessMode

取得值,指出儲存媒體所支援的存取模式。

方法

Refresh()

重新整理儲存媒體的相關資訊。

適用於