共用方式為


IWpfTextViewLineCollection.Item 屬性

Get the IWpfTextViewLine at index.

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
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 不支援索引屬性。

參數

  • index
    類型:Int32

    以零起始的項目索引

屬性值

類型:Microsoft.VisualStudio.Text.Formatting.IWpfTextViewLine
IWpfTextViewLine

.NET Framework 安全性

請參閱

參考

IWpfTextViewLineCollection 介面

Microsoft.VisualStudio.Text.Editor 命名空間