NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Add Method
Adds a snapshot span to the collection. This method throws a NotSupportedException.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Dichiarazione
Private Sub Add ( _
item As SnapshotSpan _
) Implements ICollection(Of SnapshotSpan).Add
void ICollection<SnapshotSpan>.Add(
SnapshotSpan item
)
private:
virtual void Add(
SnapshotSpan item
) sealed = ICollection<SnapshotSpan>::Add
private abstract Add :
item:SnapshotSpan -> unit
private override Add :
item:SnapshotSpan -> unit
JScript does not support explicit interface implementations.
Parameters
- item
Type: Microsoft.VisualStudio.Text.SnapshotSpan
The item to add.
Implements
.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.