IIndexer Interface | |
This interface is used to index a collection using the VO Array syntax.
The interface is implemented by the ARRAY type in the runtime, but you can also use it for your custom types.
Namespace:
XSharp
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax public interface IIndexer
Properties
| Name | Description |
---|
| ItemLong |
Get/Set array elements with a ZERO based array index.
|
| ItemLong |
Get/Set array elements with a ZERO based array index.
|
| ItemLong, Long |
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