NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.