CSharpCodeParser.TryGetDirectiveHandler(String, Action) 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.
Ce type/membre prend en charge l’infrastructure .NET Framework et n’est pas destiné à être utilisé directement à partir de votre code. Obtient un gestionnaire de directives.
protected bool TryGetDirectiveHandler(string directive, out Action handler);
member this.TryGetDirectiveHandler : string * Action -> bool
Protected Function TryGetDirectiveHandler (directive As String, ByRef handler As Action) As Boolean
Paramètres
- directive
- String
La directive.
- handler
- Action
Gestionnaire.
Retours
true si la tentative réussit ; sinon, false.