DevForce Help Reference
SetItem Method


The zero-based index of the element to replace.
The new value for the element at the specified index. The value can be null for reference types.
Replaces the element at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub SetItem( _
   ByVal index As Integer, _
   ByVal item As EntityKey _
) 
'Usage
 
Dim instance As EntityKeyList
Dim index As Integer
Dim item As EntityKey
 
instance.SetItem(index, item)
protected override void SetItem( 
   int index,
   EntityKey item
)

Parameters

index
The zero-based index of the element to replace.
item
The new value for the element at the specified index. The value can be null for reference types.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than zero.-or-index is greater than Count.
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

Reference

EntityKeyList Class
EntityKeyList Members

Send Feedback