Partager via


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Add Method

Definition

Adds a snapshot span to the collection. This method throws a NotSupportedException.

 virtual void System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Add(Microsoft::VisualStudio::Text::SnapshotSpan item) = System::Collections::Generic::ICollection<Microsoft::VisualStudio::Text::SnapshotSpan>::Add;
void System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Add(Microsoft::VisualStudio::Text::SnapshotSpan item);
void ICollection<SnapshotSpan>.Add (Microsoft.VisualStudio.Text.SnapshotSpan item);
abstract member System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Add : Microsoft.VisualStudio.Text.SnapshotSpan -> unit
override this.System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Add : Microsoft.VisualStudio.Text.SnapshotSpan -> unit
Sub Add (item As SnapshotSpan) Implements ICollection(Of SnapshotSpan).Add

Parameters

item
SnapshotSpan

The snapshot span.

Implements

Applies to