IIndexedProperties Interface | |
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.21
Syntax INTERFACE IIndexedProperties
public interface IIndexedProperties
Properties
| Name | Description |
---|
| ItemLong |
Get/Set array elements with a ZERO based array index.
|
| ItemString | Get/Set array elements with a name. |
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