Aracılığıyla paylaş


SyntaxNode.Contains(SyntaxNode) Method

Definition

Determines if the specified node is a descendant of this node. Returns true for current node.

public:
 bool Contains(Microsoft::CodeAnalysis::SyntaxNode ^ node);
public bool Contains (Microsoft.CodeAnalysis.SyntaxNode node);
public bool Contains (Microsoft.CodeAnalysis.SyntaxNode? node);
member this.Contains : Microsoft.CodeAnalysis.SyntaxNode -> bool
Public Function Contains (node As SyntaxNode) As Boolean

Parameters

node
SyntaxNode

Returns

Applies to