CollectionItem(Object) Property
Returns a specific element of a Collection object either by position or by key.
Namespace: inmydata.WindowsForms.LibraryAssembly: inmydata.WindowsForms.Library (in inmydata.WindowsForms.Library.dll) Version: 1.0.0.0 (1.0.0.0)
public Object this[
Object Index
] { get; }
Public ReadOnly Default Property Item (
Index As Object
) As Object
Get
DEFINE CollectionItem(Object) AS COM-HANDLE NO-UNDO.
DEFINE PRIVATE VARIABLE CollectionItem(Object) AS CLASS Object NO-UNDO.
- Index Object
- (A) A numeric expression that specifies the position of an element of the collection. Index must be a number from 1 through the value of the collection's Count property. Or (B) An Object expression that specifies the position or key string of an element of the collection.
ObjectReturns a specific element of a Collection object either by position or by key. Read-only.
If Index is of type Object, the Item property attempts to treat it as a String, Char, Char array, or integer value. If Item cannot convert Index to String or Integer, it throws an ArgumentException exception.