Compartilhar via


VisualBasicCompilation.ContainsSyntaxTree(SyntaxTree) Method

Definition

Is the passed in syntax tree in this compilation?

public:
 bool ContainsSyntaxTree(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree);
public bool ContainsSyntaxTree (Microsoft.CodeAnalysis.SyntaxTree syntaxTree);
override this.ContainsSyntaxTree : Microsoft.CodeAnalysis.SyntaxTree -> bool
Public Function ContainsSyntaxTree (syntaxTree As SyntaxTree) As Boolean

Parameters

syntaxTree
SyntaxTree

Returns

Applies to