共用方式為


OnIdiom<T>.Implicit(OnIdiom<T> to T) 運算子

定義

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

參數

onIdiom
OnIdiom<T>

傳回

T

適用於