HandlerDescriptor.FromDelegate(Delegate) 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.
Crée un descripteur basé sur la méthode spécifiée.
public:
static System::CommandLine::NamingConventionBinder::HandlerDescriptor ^ FromDelegate(Delegate ^ delegate);
public static System.CommandLine.NamingConventionBinder.HandlerDescriptor FromDelegate(Delegate delegate);
static member FromDelegate : Delegate -> System.CommandLine.NamingConventionBinder.HandlerDescriptor
Public Shared Function FromDelegate (delegate As Delegate) As HandlerDescriptor
Paramètres
- delegate
- Delegate
Délégué pour lequel créer un descripteur de gestionnaire.
Retours
Descripteur de gestionnaire pour le délégué.