INamedIndexer Interface | |
This interface is used to index a collection using a numeric and a string index and is implemented by the
typed array class ('ARRAY OF'). If your elements inside the collection implement the IIndexProperties interface then
the lookup of the property inside array element will be resolved with a call to the named indexer on that object.
Namespace:
XSharp
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax public interface INamedIndexer
The INamedIndexer type exposes the following members.
Properties
| Name | Description |
---|
| Item |
Get/Set array elements with a ZERO based array index.
|
TopRemarks
The indexer in this type is ZERO based, however in your PRG code you can use ONE based array indices.
When the compiler detects an index operation to a class that implements this interface then the compiler will automatically
adjust the indices (by subtracting one) unless the /az compiler option is enabled.
See Also