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.
Int32: Number of array elements
SalNumber: Returns the number of dimensions.
Boolean: Returns true if the array is dynamic.
Boolean: Returns true if the array is empty.
Boolean: Returns true if the array is an MD array.
Boolean: IsSynchronized
Object: Get/Set functions used to access the array. The implementation classes will call these methods from their indexers.
SalNumber: Returns the total number of items in the array. For MD arrays returns the number of items in the first dimension.
Object: SynchRoot
Appends one item to the array.
Returns: Int32.
Appends the collection of items to the array.
Returns the average value of all the numbers in an array.
Returns: SalNumber. nAvg
Clears a dynamic array
CopyTo
Returns the number of dimensions in an array.
Returns: SalNumber.
Returns: Boolean.
Fills an array with the specified value.
Returns: Boolean.
Finds the value in the array. This is allowed only for single-dimension arrays.
Returns: Int32.
Creates a SalArray from a native array. The type is inferred from the array.
Returns: SalArray.
Creates a SalArray from a native array of the specified dbType .
Returns: SalArray.
Returns the wrapped native array and ensures that the requested element is created for dynamic arrays.
Returns: Array.
Returns the type of the array elements
Returns: Type.
IEnumerator implementation to support the foreach statement.
Returns: IEnumerator.
Returns the number of items in the array
Returns: Int32.
Returns the lower bound of the array.
Returns: SalNumber.
Returns: Boolean.
Returns the upper bound of an array.
Returns: SalNumber.
Returns: Boolean.
Inserts an item at the position. This is allowed only for single-dimension arrays.
Makes the array dynamic.
Returns the maximum value in an array of numbers.
Returns: SalNumber.
Returns the minimum value in an array of numbers.
Returns: SalNumber.
Returns: SalNumber.
Removes the item at the index. This is allowed only for single-dimension arrays.
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().
Returns: Boolean.
Changes the number of items in the array
Changes the lower bound of the array
Returns: Boolean.
Sets the upper bound of an array. The first dimension is 1.
Returns: Boolean.
Sorts the items in the array.
Sorts the items in the array.
Returns the sum of the elements in an array of numbers.
Returns: SalNumber.
Converts to an array of native types.
Returns: Object.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
value
collection
array
index
nDim
value
count
value
start
array
Native array to convert to a SalArray.
array
Native array to convert to a SalArray.
dbType
Type of the elements in the source array .
capacity
dim
dimension, first = 1
dim
dim
lbound
dim
dim
ubound
index
min
max
index
lower
upper
dim
dimension, first = 1
length
dim
bound
dim
bound
index
count
comparer
comparer
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.