ITextViewLineCollection.GetIndexOfTextLine(ITextViewLine) Метод

Определение

Получает индекс, в строках текста, данной строки представления текста.

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

Параметры

textLine
ITextViewLine

Строка ITextViewLine, для которой следует найти индекс.

Возвращаемое значение

Int32

Индекс элемента ITextViewLine в списке текстлинес представления.

Исключения

Параметр textLine имеет значение null.

Объект textLine был удален.

Применяется к