Retreives an item from the item - optionally creating the object.
protected Infragistics.Shared.SubObjectBase GetItem(
int ,
bool
)
'Declaration
Protected Overloads Function GetItem( _
ByVal As Integer, _
ByVal As Boolean _
) As Infragistics.Shared.SubObjectBase
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.
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