VistaDB 5






Key to look for in the collection
ContainsKey Method (IVistaDBKeyedCollection<TKey,TValue>)
Is this key currently contained in the list? Used to lookup an entry.
Syntax
'Declaration
 
Function ContainsKey( _
   ByVal key As TKey _
) As System.Boolean
'Usage
 
Dim instance As IVistaDBKeyedCollection(Of TKey,TValue)
Dim key As TKey
Dim value As System.Boolean
 
value = instance.ContainsKey(key)
System.bool ContainsKey( 
   TKey key
)
function ContainsKey( 
    key: TKey
): System.Boolean; 
function ContainsKey( 
   key : TKey
) : System.boolean;
System.bool ContainsKey( 
   TKey* key
) 
System.bool ContainsKey( 
   TKey^ key
) 

Parameters

key
Key to look for in the collection

Return Value

True if found
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also