IPlcArray Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The IPlcArray interface defines the following members.

Item[Int32]

Gets the element at the specified index.

C#

object this[int index] { get; }


Property Value

Object

The element at the specified index.



Exceptions

ArgumentOutOfRangeException

The index is less than zero or index is equal to or greater than Length.

Length

Gets a 32-bit integer that represents the total number of elements within the array.

C#

int Length { get; }


Property Value

Int32

A 32-bit integer that represents the total number of elements within the array.

GetElement(Int32)

Retrieves the IPlcValue at the specified index.

C#

IPlcValue GetElement(int index)


Parameters

index Int32

The zero-based index of the element to get.


Returns

IPlcValue

The IPlcValue at the specified index.



Exceptions

ArgumentOutOfRangeException

The index is less than zero or index is equal to or greater than Length.