Freigeben über


SyntaxTree.GetLineVisibility(Int32, CancellationToken) Methode

Definition

Gibt die Sichtbarkeit für die Zeile an der angegebenen Position zurück.

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

Parameter

position
Int32

Die zu überprüfende Position.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: