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

Definition

Casts the type to the version that corresponds to the platform.

public static implicit operator T (Xamarin.Forms.OnPlatform<T> onPlatform);
static member op_Implicit : Xamarin.Forms.OnPlatform<'T> -> 'T

Parameters

onPlatform
OnPlatform<T>

The platform to convert.

Returns

T

Applies to