NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.ICollection Method
Removes the specified span from 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 Function Remove ( _
item As SnapshotSpan _
) As Boolean Implements ICollection(Of SnapshotSpan).Remove
bool ICollection<SnapshotSpan>.Remove(
SnapshotSpan item
)
private:
virtual bool Remove(
SnapshotSpan item
) sealed = ICollection<SnapshotSpan>::Remove
private abstract Remove :
item:SnapshotSpan -> bool
private override Remove :
item:SnapshotSpan -> bool
JScript does not support explicit interface implementations.
Parameters
item
Type: Microsoft.VisualStudio.Text.SnapshotSpanThe item to remove.
Return Value
Type: Boolean
true if it was possible to remove the span. This method throws a NotSupportedException.
Implements
ICollection.Remove(UTP)
.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.