次の方法で共有


ImageSource.Implicit Operator

Definition

Overloads

Implicit(String to ImageSource)

Allows implicit casting from a string that represents an absolute URI.

Implicit(Uri to ImageSource)

Allows implicit casting from System.Uri objects that were created with an absolute URI.

Implicit(String to ImageSource)

Allows implicit casting from a string that represents an absolute URI.

public static implicit operator Xamarin.Forms.ImageSource (string source);
static member op_Implicit : string -> Xamarin.Forms.ImageSource

Parameters

source
System.String

A string that represents an image location.

Returns

Applies to

Implicit(Uri to ImageSource)

Allows implicit casting from System.Uri objects that were created with an absolute URI.

public static implicit operator Xamarin.Forms.ImageSource (Uri uri);
static member op_Implicit : Uri -> Xamarin.Forms.ImageSource

Parameters

uri
System.Uri

A absolute URI that specifies an image location.

Returns

Applies to