点击或拖拽改变大小

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

命名空间:  XSharp
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.24 GA
Syntax
[SerializableAttribute]
 CLASS Array Of<T> IMPLEMENTS INamedIndexer, 
	IEnumerable<T>, IEnumerable, ISerializable
Request Example 查看代码

Type Parameters

T
Type of the elements inside the array

Array OfT 类型公开以下成员。

Constructors
  NameDescription
公共方法Array OfT
Create an empty array
公共方法Array OfT(IEnumerableT)
Create an array and fill it with elements from an existing collection.
公共方法Array 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.
公共方法Array OfT(DWord)
Create an array with a certain capacity.
公共方法Array OfT(T)
Create an array and fill it with elements from an existing .Net array.
公共方法Array OfT(SerializationInfo, StreamingContext)
从序列化数据构造一个值
公共方法Array OfT(DWord, Logic)
Create an array with a certain capacity and specify if it should be filled with default values.
Top
Properties
  NameDescription
公共属性Count
Length of the array as integer.
公共属性DefaultValue
Returns the default value for array elements when arrays are resized or initialized.
公共属性IsEmpty
Is the array empty.
公共属性ItemLong
使用零为基础的数组索引来获取/设置数组元素。
公共属性ItemLong, Long
使用零为基础的数组索引来获取/设置数组元素。
公共属性ItemLong, String
使用零为基础的数组索引来获取/设置数组元素。
公共属性Length
Length of the array.
公共属性Locked
Is the array locked?
Top
Methods
  NameDescription
公共方法GetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
公共方法ToString
Returns a string that represents the current object.
(重写 ToString.)
Top
Operators
Extension Methods
  NameDescription
公共扩展器方法MaxT(FuncT, Currency)已重载。 (由 ExtensionMethods 定义。)
公共扩展器方法MaxT(FuncT, Float)已重载。 (由 ExtensionMethods 定义。)
公共扩展器方法MinT(FuncT, Currency)已重载。 (由 ExtensionMethods 定义。)
公共扩展器方法MinT(FuncT, Float)已重载。 (由 ExtensionMethods 定义。)
公共扩展器方法SumT(FuncT, Currency)已重载。 (由 ExtensionMethods 定义。)
公共扩展器方法SumT(FuncT, Float)已重载。 (由 ExtensionMethods 定义。)
Top
Explicit Interface Implementations
See Also