Partilhar via


VisualBasicSyntaxTree.TryGetRoot(VisualBasicSyntaxNode) Method

Definition

Gets the root node of the syntax tree if it is already available.

public:
 abstract bool TryGetRoot(Microsoft::CodeAnalysis::VisualBasic::VisualBasicSyntaxNode ^ % root);
public abstract bool TryGetRoot (ref Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode root);
override this.TryGetRoot : VisualBasicSyntaxNode -> bool
Public MustOverride Function TryGetRoot (ByRef root As VisualBasicSyntaxNode) As Boolean

Parameters

Returns

Applies to