共用方式為


Document.SupportsSyntaxTree Property

Definition

true if this Document supports providing data through the GetSyntaxTreeAsync(CancellationToken) and GetSyntaxRootAsync(CancellationToken) methods.

If false then these methods will return null instead.

public:
 property bool SupportsSyntaxTree { bool get(); };
public bool SupportsSyntaxTree { get; }
member this.SupportsSyntaxTree : bool
Public ReadOnly Property SupportsSyntaxTree As Boolean

Property Value

Applies to