Partager via


ImageSource.Implicit Operator

Definition

Overloads

Implicit(String to ImageSource)
Implicit(Uri to ImageSource)

Implicit(String to ImageSource)

Source:
ImageSource.cs
Source:
ImageSource.cs
public:
 static operator Microsoft::Maui::Controls::ImageSource ^(System::String ^ source);
public static implicit operator Microsoft.Maui.Controls.ImageSource (string source);
static member op_Implicit : string -> Microsoft.Maui.Controls.ImageSource
Public Shared Widening Operator CType (source As String) As ImageSource

Parameters

source
String

Returns

Applies to

Implicit(Uri to ImageSource)

Source:
ImageSource.cs
Source:
ImageSource.cs
public:
 static operator Microsoft::Maui::Controls::ImageSource ^(Uri ^ uri);
public static implicit operator Microsoft.Maui.Controls.ImageSource (Uri uri);
static member op_Implicit : Uri -> Microsoft.Maui.Controls.ImageSource
Public Shared Widening Operator CType (uri As Uri) As ImageSource

Parameters

uri
Uri

Returns

Applies to