Partager via


IWpfTextViewLineCollection.Item Property

Get the IWpfTextViewLine at index.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    index As Integer _
) As IWpfTextViewLine
IWpfTextViewLine this[
    int index
] { get; }
property IWpfTextViewLine^ default[int index] {
    IWpfTextViewLine^ get (int index);
}
abstract Item : 
        index:int -> IWpfTextViewLine with get
JScript does not support indexed properties.

Parameters

  • index
    Type: Int32

    The zero based index of the item

Property Value

Type: Microsoft.VisualStudio.Text.Formatting.IWpfTextViewLine
The IWpfTextViewLine.

.NET Framework Security

See Also

Reference

IWpfTextViewLineCollection Interface

Microsoft.VisualStudio.Text.Editor Namespace