Spread Silverlight Documentation
Item Property (ICalcStorage<TKey,TValue>)


Gets or sets the TValue at the specified id.
Syntax
'Declaration
 
Default Property Item( _
   ByVal id As TKey _
) As TValue
'Usage
 
Dim instance As ICalcStorage(Of TKey,TValue)
Dim id As TKey
Dim value As TValue
 
instance.Item(id) = value
 
value = instance.Item(id)
TValue this[ 
   TKey id
]; {get; set;}

Parameters

id

Property Value

A CalcIdentity indicates the data address.
Remarks
When get value, if item which is not existed, return a null reference (Nothing in Visual Basic). When set value, if id is not existed, means add a new item to storage.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ICalcStorage<TKey,TValue> Interface
ICalcStorage<TKey,TValue> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.