IDoubleArray Interface

Provides access to members that control double arrays.

Description

The IDoubleArray interface provides methods and properties for inserting, removing and accessing elements in a DoubleArray via a zero-based index.

Members

Name Description
Method Add Adds an element to the array.
Read-only property Count The number of elements in the array.
Read/write property Element An element from the array.
Method Insert Inserts an element to the array.
Method Remove Removes an element from the array.
Method RemoveAll Removes all elements from the array.

IDoubleArray.Add Method

Adds an element to the array.

Public Sub Add ( _
    ByVal Element As Double _
)
public void Add (
    double Element
);

Description

Adds the element to the end of the array.

IDoubleArray.Count Property

The number of elements in the array.

Public ReadOnly Property Count As Integer
public int Count {get;}

Description

Returns the number of elements in the array.

IDoubleArray.Element Property

An element from the array.

Public Function get_Element ( _
    ByVal Index As Integer _
) As Double
Public Sub set_Element ( _
    ByVal Index As Integer, _
    ByVal pElement As Double _
)
public double get_Element (
    int Index
);
public void set_Element (
    int Index,
    double pElement
);

Description

Returns or sets the element at the specified index in the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.

IDoubleArray.Insert Method

Inserts an element to the array.

Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal Element As Double _
)
public void Insert (
    int Index,
    double Element
);

Description

Adds the element to the array at the specified index. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.

IDoubleArray.Remove Method

Removes an element from the array.

Public Sub Remove ( _
    ByVal Index As Integer _
)
public void Remove (
    int Index
);

Description

Removes the element at the specified index from the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.

IDoubleArray.RemoveAll Method

Removes all elements from the array.

Public Sub RemoveAll ( _
)
public void RemoveAll (
);

Description

Removes all of the elements from the array.

Classes that implement IDoubleArray

Classes Description
DoubleArray An object for holding a Double array.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.