NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Remove 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
'宣言
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.SnapshotSpan
The item to remove.
Return Value
Type: System.Boolean
true if it was possible to remove the span. This method throws a NotSupportedException.
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.