VistaDB 5






Key to find in the collection
Item Property (IVistaDBKeyedCollection<TKey,TValue>)
Get a value by the index key name. Returns NULL if not found.
Syntax
'Declaration
 
ReadOnly Default Property Item( _
   ByVal key As TKey _
) As TValue
'Usage
 
Dim instance As IVistaDBKeyedCollection(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
 
value = instance.Item(key)
TValue this[ 
   TKey key
]; {get;}
 this: : TValue;[ 
    key: TKey
]; read-only
 this[ 
   key : TKey
] get : TValue
__property TValue* get_Item   TKey* key
;
property TValue^ default [TKey^] {
   TValue^ get(TKey^ key);
}

Parameters

key
Key to find in the collection

Property Value

The Value object, or null if not 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