Partilhar via


DynamicType.TryGetValue Method

Searches for a value in the collection.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    key As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
'Usage
Dim instance As DynamicType
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
)

Parameters

Return Value

Type: System.Boolean
true if the value is found; otherwise, false.

Implements

IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)

See Also

Reference

DynamicType Class

DynamicType Members

Microsoft.BusinessData.Runtime Namespace