QueryProperties.TryGetValue 方法
命名空间: Microsoft.Office.Server.Search.Query
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function TryGetValue ( _
key As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
用法
Dim instance As QueryProperties
Dim key As String
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.TryGetValue(key, _
value)
public bool TryGetValue(
string key,
out Object value
)
参数
- key
类型:System.String
- value
类型:System.Object
返回值
实现
IPropertyCollection.TryGetValue(String, Object)
IReadOnlyPropertyCollection.TryGetValue(String, Object)