Partager via


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.ICollection 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

'Declaration
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

Implements

ICollection.Add(UTP)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace