Compilation.ContainsSyntaxTree(SyntaxTree) 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.
Retourne true si cette compilation contient l’arborescence spécifiée. Sinon, false.
public:
bool ContainsSyntaxTree(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree);
public bool ContainsSyntaxTree(Microsoft.CodeAnalysis.SyntaxTree syntaxTree);
member this.ContainsSyntaxTree : Microsoft.CodeAnalysis.SyntaxTree -> bool
Public Function ContainsSyntaxTree (syntaxTree As SyntaxTree) As Boolean
Paramètres
- syntaxTree
- SyntaxTree
Arborescence de syntaxe.