SyntaxNode.ContainsDirective(Int32) Méthode
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.
Retourne true si ce nœud contient des directives (par exemple #if
, , #nullable
, etc.) avec un type correspondant.
public bool ContainsDirective(int rawKind);
member this.ContainsDirective : int -> bool
Public Function ContainsDirective (rawKind As Integer) As Boolean
- rawKind
- Int32
Produit | Versions |
---|---|
Roslyn | 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.12.2, 4.13.0 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: