Share via


LockScreen.SetImageFileAsync(IStorageFile) メソッド

定義

StorageFile オブジェクトのロック画面イメージを設定します。

public:
 static IAsyncAction ^ SetImageFileAsync(IStorageFile ^ value);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction SetImageFileAsync(IStorageFile const& value);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction SetImageFileAsync(IStorageFile value);
function setImageFileAsync(value)
Public Shared Function SetImageFileAsync (value As IStorageFile) As IAsyncAction

パラメーター

value
IStorageFile

ロック画面の新しいイメージを含む StorageFile オブジェクト。

戻り値

ロック画面のイメージを設定するために使用される オブジェクト。

属性

注釈

x64 マシン上の x86 コンソール アプリから呼び出された場合、SetImageFileAsync API はサポートされません。

適用対象

こちらもご覧ください