Switch.On<T> 方法

定义

返回此 Switch 的特定于平台的实例,可对其调用特定于平台的方法。

public Xamarin.Forms.IPlatformElementConfiguration<T,Xamarin.Forms.Switch> On<T> () where T : Xamarin.Forms.IConfigPlatform;
abstract member On : unit -> Xamarin.Forms.IPlatformElementConfiguration<'T, Xamarin.Forms.Switch (requires 'T :> Xamarin.Forms.IConfigPlatform)> (requires 'T :> Xamarin.Forms.IConfigPlatform)
override this.On : unit -> Xamarin.Forms.IPlatformElementConfiguration<'T, Xamarin.Forms.Switch (requires 'T :> Xamarin.Forms.IConfigPlatform)> (requires 'T :> Xamarin.Forms.IConfigPlatform)

类型参数

T

返回

实现

适用于