Partager via


SyntaxTree.GetLineVisibility(Int32, CancellationToken) Méthode

Définition

Retourne la visibilité de la ligne à la position donnée.

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

Paramètres

position
Int32

Position à vérifier.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à