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
'宣告
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.