ManagedPropertyCollection.Contains 方法 (Microsoft.Office.Server.Search.Administration)
Returns a Boolean value that indicates whether the collection of managed properties contains a specific ManagedProperty object.
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)
语法
声明
Public Function Contains ( _
name As String _
) As Boolean
用法
Dim instance As ManagedPropertyCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
public bool Contains (
string name
)
参数
- name
A string that specifies the name of the managed property.
返回值
true indicates the ManagedPropertyCollection class contains the specified ManagedProperty; otherwise, false.
另请参阅
参考
ManagedPropertyCollection 类
ManagedPropertyCollection 成员
Microsoft.Office.Server.Search.Administration 命名空间