CollectionItem Property (Object) |
|
DataPA OpenAnalytics API Reference
Returns a specific element of a Collection object either by position or by key.
Namespace: DataPAEnterpriseDashboardAssembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)
Syntax public Object this[
Object Index
] { get; }
Public ReadOnly Default Property Item (
Index As Object
) As Object
Get
public:
virtual property Object^ default[Object^ Index] {
Object^ get (Object^ Index) sealed;
}
function get_Item(Index);
Parameters
- Index
- Type: SystemObject
(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.
Return Value
Type:
ObjectReturns a specific element of a Collection object either by position or by key. Read-only.
Implements
Collection_CollectionItemObjectRemarks 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.
See Also