Partager via


ImageSource.FromUri(Uri) Method

Definition

Returns a new UriImageSource that reads from uri.

public:
 static Microsoft::Maui::Controls::ImageSource ^ FromUri(Uri ^ uri);
public static Microsoft.Maui.Controls.ImageSource FromUri (Uri uri);
static member FromUri : Uri -> Microsoft.Maui.Controls.ImageSource
Public Shared Function FromUri (uri As Uri) As ImageSource

Parameters

uri
Uri

A URI that identifies a valid image.

Returns

Applies to