Share via


UserSegmentTermCollection.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 Function Remove ( _
    item As Guid _
) As Boolean
'Usage
Dim instance As UserSegmentTermCollection
Dim item As Guid
Dim returnValue As Boolean

returnValue = instance.Remove(item)
public bool Remove(
    Guid item
)

Parameters

Return value

Type: System.Boolean

Exceptions

Exception Condition
NotSupportedException

Thrown when the collection is read only

See also

Reference

UserSegmentTermCollection class

UserSegmentTermCollection members

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