共用方式為


OnPlatform<T> 類別

定義

generic <typename T>
public ref class OnPlatform
[Microsoft.Maui.Controls.ContentProperty("Platforms")]
public class OnPlatform<T>
[<Microsoft.Maui.Controls.ContentProperty("Platforms")>]
type OnPlatform<'T> = class
Public Class OnPlatform(Of T)

類型參數

T
繼承
OnPlatform<T>
屬性

建構函式

名稱 Description
OnPlatform<T>()

屬性

名稱 Description
Default
Platforms

操作員

名稱 Description
Implicit(OnPlatform<T> to T)

適用於