共用方式為


FileImageSource.Implicit Operator

Definition

Overloads

Implicit(FileImageSource to String)
Implicit(String to FileImageSource)

Implicit(FileImageSource to String)

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

Parameters

Returns

Applies to

Implicit(String to FileImageSource)

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

Parameters

file
String

Returns

Applies to