OrderedCollectionBase<T>.Remove method

Removes the item from the collection

Namespace:  Microsoft.Office.Server.Search.Query.Rules
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Overridable Function Remove ( _
    item As T _
) As Boolean
'Usage
Dim instance As OrderedCollectionBase
Dim item As T
Dim returnValue As Boolean

returnValue = instance.Remove(item)
public virtual bool Remove(
    T item
)

Parameters

  • item
    Type: T

Return value

Type: System.Boolean

Exceptions

Exception Condition
NotSupportedException

Thrown when the collection is read only

See also

Reference

OrderedCollectionBase<T> class

OrderedCollectionBase<T> members

Microsoft.Office.Server.Search.Query.Rules namespace