IEffectsBuilder.Add Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Add(Type, Type) | |
| Add<TEffect,TPlatformEffect>() |
Add(Type, Type)
public:
Microsoft::Maui::Controls::Hosting::IEffectsBuilder ^ Add(Type ^ TEffect, Type ^ TPlatformEffect);
public Microsoft.Maui.Controls.Hosting.IEffectsBuilder Add (Type TEffect, Type TPlatformEffect);
abstract member Add : Type * Type -> Microsoft.Maui.Controls.Hosting.IEffectsBuilder
Public Function Add (TEffect As Type, TPlatformEffect As Type) As IEffectsBuilder
Paramètres
- TEffect
- Type
- TPlatformEffect
- Type
Retours
S’applique à
Add<TEffect,TPlatformEffect>()
public:
generic <typename TEffect, typename TPlatformEffect>
where TEffect : Microsoft::Maui::Controls::RoutingEffect where TPlatformEffect : Microsoft::Maui::Controls::Platform::PlatformEffectgcnew() Microsoft::Maui::Controls::Hosting::IEffectsBuilder ^ Add();
public Microsoft.Maui.Controls.Hosting.IEffectsBuilder Add<TEffect,TPlatformEffect> () where TEffect : Microsoft.Maui.Controls.RoutingEffect where TPlatformEffect : Microsoft.Maui.Controls.Platform.PlatformEffect, new();
abstract member Add : unit -> Microsoft.Maui.Controls.Hosting.IEffectsBuilder (requires 'Effect :> Microsoft.Maui.Controls.RoutingEffect and 'PlatformEffect :> Microsoft.Maui.Controls.Platform.PlatformEffect and 'PlatformEffect : (new : unit -> 'PlatformEffect))
Public Function Add(Of TEffect As RoutingEffect, TPlatformEffect As RoutingEffect) () As IEffectsBuilder
Paramètres de type
- TEffect
- TPlatformEffect