IPropertyCollection.TryGetValue 方法

确定匹配的键和值的集合中是否存在对象。

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

语法

声明
Function TryGetValue ( _
    key As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
用法
Dim instance As IPropertyCollection
Dim key As String
Dim value As Object
Dim returnValue As Boolean

returnValue = instance.TryGetValue(key, _
    value)
bool TryGetValue(
    string key,
    out Object value
)

参数

返回值

类型:System.Boolean

另请参阅

引用

IPropertyCollection 接口

IPropertyCollection 成员

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