LockScreen.SetImageFileAsync(IStorageFile) Method

Definition

Sets the lock screen image from a StorageFile object.

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

Parameters

value
IStorageFile

The StorageFile object that contains the new image for the lock screen.

Returns

The object used to set the image for the lock screen.

Attributes

Remarks

The SetImageFileAsync API is not supported when called from x86 Console Apps on x64 machines.

Applies to

See also