ManagedPropertyCollection.Contains 方法 (Int32)

返回此托管属性的集合中是否包含特定的ManagedProperty对象。

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

语法

声明
Public Function Contains ( _
    pid As Integer _
) As Boolean
用法
Dim instance As ManagedPropertyCollection
Dim pid As Integer
Dim returnValue As Boolean

returnValue = instance.Contains(pid)
public bool Contains(
    int pid
)

参数

返回值

类型:System.Boolean
[true] 表示ManagedPropertyCollection类包含指定的ManagedProperty;否则为**[false]**。

另请参阅

引用

ManagedPropertyCollection 类

ManagedPropertyCollection 成员

Contains 重载

Microsoft.Office.Server.Search.Administration 命名空间