NormalizedSnapshotSpanCollection.IList.Item Property
Gets the snapshot span at the specified location.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Private Property Item ( _
index As Integer _
) As Object Implements IList.Item
Object IList.this[
int index
] { get; set; }
private:
virtual property Object^ Item[int index] {
Object^ get (int index) sealed = IList::Item::get;
void set (int index, Object^ value) sealed = IList::Item::set;
}
private abstract Item :
index:int -> Object with get, set
private override Item :
index:int -> Object with get, set
JScript does not support explicit interface implementations.
Parameters
index
Type: Int32The location.
Property Value
Type: Object
The snapshot span.
Implements
IList.Item
Remarks
The set accessor throws a NotSupportedException.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.