共用方式為


IWpfTextViewLineCollection.Item Property (Int32)

Get the IWpfTextViewLine at index.

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

Syntax

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

Parameters

Property Value

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

.NET Framework Security

See Also

Reference

IWpfTextViewLineCollection Interface

Item Overload

Microsoft.VisualStudio.Text.Editor Namespace