ListCollectionTSetItem Method
Replaces the element at the specified index.
Namespace: Gemstone.CollectionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
protected override void SetItem(
int index,
T item
)
Protected Overrides Sub SetItem (
index As Integer,
item As T
)
protected:
virtual void SetItem(
int index,
T item
) override
function SetItem(index, item);
Parameters
- index Int32
- The zero-based index of the element to replace.
- item T
- The new value for the element at the specified index. The value can be null for reference types.
ArgumentOutOfRangeException | index is less than zero.-or-index is greater than Count. |