Click or drag to resize

Array Class

X#
Internal type that implements the VO Compatible ARRAY type.
This type has methods and properties that normally are never directly called from user code.
Inheritance Hierarchy
Object
  Array OfUsual
    Array
      FoxArray

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
[SerializableAttribute]
 CLASS Array INHERIT ARRAY OF<USUAL>, 
	 IMPLEMENTS IIndexer, ISerializable
Request Example View Source

The Array type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount (Inherited from Array OfT.)
Public propertyDefaultValue (Overrides DefaultValue.)
Public propertyIsEmpty (Inherited from Array OfT.)
Public propertyItemLong
Get/Set array elements with a ZERO based array index.
Public propertyItemLong
Get/Set array elements with a ZERO based array index.
Public propertyItemLong, Long
Get/Set array elements with a ZERO based array index.
Public propertyItemLong, String
Get/Set array elements with a ZERO based array index.
(Inherited from Array OfT.)
Public propertyLength
Length of the array.
(Inherited from Array OfT.)
Public propertyLocked (Inherited from Array OfT.)
Top
Methods
Fields
  NameDescription
Public fieldStatic memberFoxArrayHelpers
Top
Explicit Interface Implementations
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