ITextViewLineCollection.GetIndexOfTextLine(ITextViewLine) Método

Definição

Obtém o índice nas linhas de texto da linha de exibição de texto fornecida.

public:
 int GetIndexOfTextLine(Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ textLine);
public:
 int GetIndexOfTextLine(Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ textLine);
int GetIndexOfTextLine(Microsoft::VisualStudio::Text::Formatting::ITextViewLine const & textLine);
public int GetIndexOfTextLine (Microsoft.VisualStudio.Text.Formatting.ITextViewLine textLine);
abstract member GetIndexOfTextLine : Microsoft.VisualStudio.Text.Formatting.ITextViewLine -> int
Public Function GetIndexOfTextLine (textLine As ITextViewLine) As Integer

Parâmetros

textLine
ITextViewLine

O ITextViewLine para o qual localizar o índice.

Retornos

Int32

O índice do ITextViewLine na lista Textlines da exibição.

Exceções

textLine é nulo.

O textLine foi descartado.

Aplica-se a