Click or drag to resize

IndexCollectionFromArray Method (Int32)

Initializes a new instance of the IndexCollection class that contains elements copied from the specified array.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public static IndexCollection FromArray(
	int[] indexes
)

Parameters

indexes
Type: SystemInt32
The array that stores the elements of the new IndexCollection instance.

Return Value

Type: IndexCollection
A collection containing the indexes in the specified array.
Exceptions
ExceptionCondition
ArgumentNullExceptionindexes is null.
ArgumentException The Length of indexes is zero.
-or-
indexes contains a negative element.
See Also