Autodesk Vault ProfessionalVault API

TryGetValue Method

Autodesk.DataManagement.Client.Framework.InterfacesIDictionaryReadonly<TKey,TValue>

Gets the value associated with the specified key. If the key is not found, the value returned is default value for the type.

Syntax

System.bool TryGetValue(
   TKey key,
   out TValue value
)
Function TryGetValue( _
   ByVal key As TKey, _
   ByRef value As TValue _
) As System.Boolean

Parameters

NameDescription
key
value

Return Value

true if the an element with the specified key exists; otherwise, false

See Also