Share via


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Clear Method

Clears 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 Clear Implements ICollection(Of SnapshotSpan).Clear
void ICollection<SnapshotSpan>.Clear()
private:
virtual void Clear() sealed = ICollection<SnapshotSpan>::Clear
private abstract Clear : unit -> unit  
private override Clear : unit -> unit
JScript does not support explicit interface implementations.

Implements

ICollection<T>.Clear()

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace