返回此托管属性的集合中是否包含特定的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
)
参数
pid
类型:System.Int32该 pid 的托管属性。
返回值
类型:System.Boolean
[true] 表示ManagedPropertyCollection类包含指定的ManagedProperty;否则为**[false]**。