共用方式為


RequireServiceAttribute(Type[]) 建構函式

定義

public:
 RequireServiceAttribute(cli::array <Type ^> ^ serviceTypes);
public RequireServiceAttribute (Type[] serviceTypes);
new Microsoft.Maui.Controls.Xaml.RequireServiceAttribute : Type[] -> Microsoft.Maui.Controls.Xaml.RequireServiceAttribute
Public Sub New (serviceTypes As Type())

參數

serviceTypes
Type[]

適用於