Array.new Method

Creates an array in which each element has the specified type.

Syntax

public void new(Types Type)

Run On

Called

Parameters

Remarks

The possible values are those that are available for the Types system enumeration:

  • AnyType

  • BLOB

  • Class

  • Container

  • Date

  • DateTime

  • Enum

  • Guid

  • Int64

  • Integer

Examples

The following example creates an array of integers.

Array intArray = new Array(Types::Integer);

See Also

Array Class

Array::create Method