UserSegmentTermCollection.Remove 方法

从集合中移除项

命名空间:  Microsoft.Office.Server.Search.Query.Rules
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function Remove ( _
    item As Guid _
) As Boolean
用法
Dim instance As UserSegmentTermCollection
Dim item As Guid
Dim returnValue As Boolean

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

参数

返回值

类型:System.Boolean

异常

异常 条件
NotSupportedException

该集合为只读时,引发

另请参阅

引用

UserSegmentTermCollection 类

UserSegmentTermCollection 成员

Microsoft.Office.Server.Search.Query.Rules 命名空间