共用方式為


Image.SetFile Method

Definition

Overloads

SetFile(BindableObject, String)
SetFile(IPlatformElementConfiguration<Tizen,Image>, String)

SetFile(BindableObject, String)

Source:
Image.cs
Source:
Image.cs
public:
 static void SetFile(Microsoft::Maui::Controls::BindableObject ^ element, System::String ^ file);
public static void SetFile (Microsoft.Maui.Controls.BindableObject element, string file);
static member SetFile : Microsoft.Maui.Controls.BindableObject * string -> unit
Public Sub SetFile (element As BindableObject, file As String)

Parameters

element
BindableObject
file
String

Applies to

SetFile(IPlatformElementConfiguration<Tizen,Image>, String)

Source:
Image.cs
Source:
Image.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Image ^> ^ SetFile(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Image ^> ^ config, System::String ^ file);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Image> SetFile (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Image> config, string file);
static member SetFile : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Image> * string -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Image>
<Extension()>
Public Function SetFile (config As IPlatformElementConfiguration(Of Tizen, Image), file As String) As IPlatformElementConfiguration(Of Tizen, Image)

Parameters

file
String

Returns

Applies to