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

取消标记。

返回

适用于