共用方式為


PhotoImportManager 類別

定義

提供 API,以判斷目前裝置是否支援相片匯入、尋找要匯入相片的來源,以及取得任何擱置相片匯入作業的參考。

public ref class PhotoImportManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PhotoImportManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class PhotoImportManager
Public Class PhotoImportManager
繼承
Object Platform::Object IInspectable PhotoImportManager
屬性

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 引進)

方法

FindAllSourcesAsync()

尋找所有目前可用的來源,以便從中匯入相片。

GetPendingOperations()

取得所有擱置的相片匯入作業清單。

IsSupportedAsync()

取得值,指出目前裝置是否支援相片匯入。

適用於