Click or drag to resize

Array OfT Class

X#
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.24 GA
Syntax
[SerializableAttribute]
 CLASS Array Of<T> IMPLEMENTS INamedIndexer, 
	IEnumerable<T>, IEnumerable, ISerializable
Request Example View Source

Type Parameters

T
Type of the elements inside the array

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(DWord)
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(SerializationInfo, StreamingContext)
Construct a value from serialized data
Public methodArray OfT(DWord, Logic)
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 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.
Public propertyLength
Length of the array.
Public propertyLocked
Is the array locked?
Top
Methods
  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodToString
Returns a string that represents the current object.
(Overrides ToString.)
Top
Operators
Extension Methods
  NameDescription
Public Extension MethodMaxT(FuncT, Currency)Overloaded. (Defined by ExtensionMethods.)
Public Extension MethodMaxT(FuncT, Float)Overloaded. (Defined by ExtensionMethods.)
Public Extension MethodMinT(FuncT, Currency)Overloaded. (Defined by ExtensionMethods.)
Public Extension MethodMinT(FuncT, Float)Overloaded. (Defined by ExtensionMethods.)
Public Extension MethodSumT(FuncT, Currency)Overloaded. (Defined by ExtensionMethods.)
Public Extension MethodSumT(FuncT, Float)Overloaded. (Defined by ExtensionMethods.)
Top
Explicit Interface Implementations
See Also