OpcArrayDimensions Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Provides the lengths of array dimensions.

C#

public class OpcArrayDimensions : IReadOnlyList<uint>, IReadOnlyCollection<uint>, IEnumerable<uint>, IEnumerable


Inheritance Object › OpcArrayDimensions


Implements IReadOnlyList<UInt32>, IReadOnlyCollection<UInt32>, IEnumerable<UInt32>, IEnumerable

Name Description
OpcArrayDimensions(UInt32) Initializes a new instance of the OpcArrayDimensions class with the lengths of dimensions to represent.
Name Description
Length Gets the total number of elements in all the dimensions.
Rank Gets the rank (number of dimensions). For example, a one-dimensional array returns 1, a two-dimensional array returns 2, and so on.
Item(Int32) Gets the length of the dimension specified.
Name Description
CreateArray(Type) Creates an Array of the specified elementType and dimensions represented.
GetEnumerator Returns an enumerator that iterates through the dimensions.
GetLength(Int32) Gets a 32-bit integer that represents the number of elements in the specified dimension of the array.
GetLowerBound(Int32) Gets the index of the first element of the specified dimension in the array.
GetUpperBound(Int32) Gets the index of the last element of the specified dimension in the array.
ToString Returns a string that represents the OpcArrayDimensions.