Click or drag to resize

Array OfT Class

Internal type that implements the new TYPED ARRAY type.
This type has methods and properties that normally are never directly called from user code.
Inheritance Hierarchy
Object
  Array OfT
    Array

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax
 CLASS Array Of<T> IMPLEMENTS INamedIndexer, 
	IEnumerable<T>, IEnumerable
WHERE T : NEW()
View Source

Type Parameters

T

The Array OfT type exposes the following members.

Constructors
  NameDescription
Public methodArray OfT
Create an empty array
Public methodArray OfT(IEnumerableT)
Create an array and fill it with elements from an existing collection.
Public methodArray OfT(Object)
Create an array and fill it with elements from an existing .Net array of objects. Note that the objects must be of the right type.
Public methodArray OfT(UInt32)
Create an array with a certain capacity.
Public methodArray OfT(T)
Create an array and fill it with elements from an existing .Net array.
Public methodArray OfT(UInt32, Boolean)
Create an array with a certain capacity and specify if it should be filled with default values.
Top
Properties
  NameDescription
Public propertyCount
Length of the array as integer.
Public propertyDefaultValue
Returns the default value for array elements when arrays are resized or initialized.
Public propertyIsEmpty
Is the array empty.
Public propertyItemInt32
Get/Set array elements with a ZERO based array index.
Public propertyItemInt32, Int32
Get/Set array elements with a ZERO based array index.
Public propertyItemInt32, String
Get/Set array elements with a ZERO based array index.
Public propertyLength
Length of the array.
Public propertyLocked
Is the array locked?
Top
Methods
  NameDescription
Public method__GetElement
Get/Set array elements with a ZERO based array index.
Public method__SetElement
Get/Set array elements with a ZERO based array index.
Public methodToString
Returns a string that represents the current object.
(Overrides ToString.)
Top
Operators
Explicit Interface Implementations
See Also