-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_OwnedCollectionBase_3_SetItem
Andrew Koryavchenko edited this page Jun 17, 2018
·
2 revisions
Replaces the element at the specified index. Sets owner for the items being added. Clears owner for the item being removed.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
protected override void SetItem(
int index,
TItem item
)
VB
Protected Overrides Sub SetItem (
index As Integer,
item As TItem
)
F#
abstract SetItem :
index : int *
item : 'TItem -> unit
override SetItem :
index : int *
item : 'TItem -> unit
- index
- Type: System.Int32
The zero-based index of the element to replace. - item
- Type: TItem
The new value for the element at the specified index. The value can be null for reference types.
OwnedCollectionBase(TOwner, TKey, TItem) Class
CodeJam.Collections Namespace