Partilhar via


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

'Declaração
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<T>.Add(T)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace