Version 24.2 (latest)

GetItem(Int32,Boolean) Method

Retreives an item from the item - optionally creating the object.
Syntax
protected Infragistics.Shared.SubObjectBase GetItem( 
   int index,
   bool create
)

Parameters

index
Integer specifying the index from which to retreive the object. Note, this value is not necessarily the position in the array but is based on the ArrayBase value.
create
Boolean indicating whether the object should be created if it does not exist.

Return Value

Null if the object does not exist and create was false. Otherwise an object is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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