共用方式為


VisualBasicSyntaxTree.GetLineVisibility(Int32, CancellationToken) 方法

定義

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

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

參數

position
Int32

要檢查的位置。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於