Click or drag to resize

SyntaxNodeContains Method



Determines if the specified node is a descendant of this node.

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public bool Contains(
	SyntaxNode node
)

Parameters

node
Type: Microsoft.CodeAnalysisSyntaxNode

Return Value

Type: Boolean
See Also