Windows Dev Center

LockScreen.SetImageUri method

Sets the lock screen background to the image located at the provided Uniform Resource Identifier (URI).

Syntax


public static void SetImageUri(
  Uri value
)

Parameters

value

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

An absolute path Uniform Resource Identifier (URI) to the image in isolated storage, or the image install path.

Remarks

This method can be called while the app runs in the foreground or from a background agent.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System.UserProfile
Windows::Phone::System::UserProfile [C++]

Metadata

Windows.WinMD

See also

LockScreen

 

 

Community Additions

ADD
Show:
© 2015 Microsoft