Share via


LockScreen.SetImageFileAsync(IStorageFile) Methode

Definition

Legt das Sperrbildschirmbild eines StorageFile-Objekts fest.

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

Parameter

value
IStorageFile

Das StorageFile-Objekt , das das neue Bild für den Sperrbildschirm enthält.

Gibt zurück

Das -Objekt, das zum Festlegen des Bilds für den Sperrbildschirm verwendet wird.

Attribute

Hinweise

Die SetImageFileAsync-API wird nicht unterstützt, wenn sie von x86-Konsolen-Apps auf x64-Computern aufgerufen wird.

Gilt für:

Weitere Informationen