LockScreen.SetImageFileAsync(IStorageFile) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.