Partager via


CSharpSyntaxTree.TryGetRootCore(SyntaxNode) Method

Definition

protected:
 override bool TryGetRootCore([Runtime::InteropServices::Out] Microsoft::CodeAnalysis::SyntaxNode ^ % root);
protected override bool TryGetRootCore (out Microsoft.CodeAnalysis.SyntaxNode root);
protected override bool TryGetRootCore (out Microsoft.CodeAnalysis.SyntaxNode? root);
override this.TryGetRootCore : SyntaxNode -> bool
Protected Overrides Function TryGetRootCore (ByRef root As SyntaxNode) As Boolean

Parameters

root
SyntaxNode

Returns

Applies to