共用方式為


OnIdiom<T>.Implicit(OnIdiom<T> to T) Operator

Definition

public:
 static operator T(Microsoft::Maui::Controls::OnIdiom<T> ^ onIdiom);
public static implicit operator T (Microsoft.Maui.Controls.OnIdiom<T> onIdiom);
static member op_Implicit : Microsoft.Maui.Controls.OnIdiom<'T> -> 'T
Public Shared Widening Operator CType (onIdiom As OnIdiom(Of T)) As T

Parameters

onIdiom
OnIdiom<T>

Returns

T

Applies to