Compartilhar via


SyntaxTree.GetLineVisibility(Int32, CancellationToken) Método

Definição

Retorna a visibilidade da linha na posição determinada.

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

Parâmetros

position
Int32

A posição a ser verificada.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a