Click or drag to resize

IIndexedProperties Interface

X#
This interface can be used to access any object with an indexer. This is mostly used for elements inside typed arrays of the 'ARRAY OF' class. If you implement the interface on the elements you can use an array syntax to assess fields/properties in the elements of the array by name or ordinal.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 INTERFACE IIndexedProperties
Properties
Remarks
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