BitmapImage Constructors

Definition

Overloads

BitmapImage()

Initializes a new instance of the BitmapImage class.

Equivalent WinUI constructor: Microsoft.UI.Xaml.Media.Imaging.BitmapImage.BitmapImage.

BitmapImage(Uri)

Initializes a new instance of the BitmapImage class, using the supplied Uniform Resource Identifier (URI).

Equivalent WinUI constructor: Microsoft.UI.Xaml.Media.Imaging.BitmapImage.BitmapImage.

BitmapImage()

Initializes a new instance of the BitmapImage class.

Equivalent WinUI constructor: Microsoft.UI.Xaml.Media.Imaging.BitmapImage.BitmapImage.

public:
 BitmapImage();
 BitmapImage();
public BitmapImage();
function BitmapImage()
Public Sub New ()

Applies to

BitmapImage(Uri)

Initializes a new instance of the BitmapImage class, using the supplied Uniform Resource Identifier (URI).

Equivalent WinUI constructor: Microsoft.UI.Xaml.Media.Imaging.BitmapImage.BitmapImage.

public:
 BitmapImage(Uri ^ uriSource);
 BitmapImage(Uri const & uriSource);
public BitmapImage(System.Uri uriSource);
function BitmapImage(uriSource)
Public Sub New (uriSource As Uri)

Parameters

uriSource
Uri

A reference to the image source file.

Applies to