SalArray
PPJ.Runtime.SalArray
Last updated
PPJ.Runtime.SalArray
Last updated
Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.49 (4.9.0.0)
Dynamic array class. This class replicates SAL dynamic arrays. It must be declared as an inner class of the class that should be used as the type of the elements of the dynamic array.
: Number of array elements
: Returns the number of dimensions.
: Returns true if the array is dynamic.
: Returns true if the array is empty.
Appends one item to the array.
value
Appends the collection of items to the array.
collection
Returns the average value of all the numbers in an array.
Clears a dynamic array
CopyTo
array
index
Returns the number of dimensions in an array.
nDim
Fills an array with the specified value.
value
count
Finds the value in the array. This is allowed only for single-dimension arrays.
value
start
Creates a SalArray from a native array. The type is inferred from the array.
array
Native array to convert to a SalArray.
Creates a SalArray from a native array of the specified dbType .
array
Native array to convert to a SalArray.
dbType
Type of the elements in the source array .
Returns the wrapped native array and ensures that the requested element is created for dynamic arrays.
capacity
Returns the type of the array elements
IEnumerator implementation to support the foreach statement.
Returns the number of items in the array
dim
dimension, first = 1
Returns the lower bound of the array.
dim
dim
lbound
Returns the upper bound of an array.
dim
dim
ubound
Inserts an item at the position. This is allowed only for single-dimension arrays.
index
Makes the array dynamic.
Returns the maximum value in an array of numbers.
Returns the minimum value in an array of numbers.
min
max
Removes the item at the index. This is allowed only for single-dimension arrays.
index
Resets a dynamic array
Sets the lower and upper bound of an array for the first dimension only. NOTE: In SAL this function was named SalSetArrayBounds().
lower
upper
Changes the number of items in the array
dim
dimension, first = 1
length
Changes the lower bound of the array
dim
bound
Sets the upper bound of an array. The first dimension is 1.
dim
bound
Sorts the items in the array.
index
count
comparer
Sorts the items in the array.
comparer
Returns the sum of the elements in an array of numbers.
Converts to an array of native types.
Dynamic array generic class. This class replicates SAL dynamic arrays. It can be used without being declared as an inner class by using the new generics syntax.
Common base interface for Sal types.
: Returns true if the array is an MD array.
: IsSynchronized
: Get/Set functions used to access the array. The implementation classes will call these methods from their indexers.
: Returns the total number of items in the array. For MD arrays returns the number of items in the first dimension.
: SynchRoot
Returns: .
Returns: . nAvg
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .