共用方式為


SyntaxTree.GetLineVisibility(Int32, CancellationToken) 方法

定義

傳回指定位置之線條的可見度。

public virtual Microsoft.CodeAnalysis.LineVisibility GetLineVisibility (int position, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLineVisibility : int * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.LineVisibility
override this.GetLineVisibility : int * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.LineVisibility
Public Overridable Function GetLineVisibility (position As Integer, Optional cancellationToken As CancellationToken = Nothing) As LineVisibility

參數

position
Int32

要檢查的位置。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於