PlcInt16ArrayType Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcInt16ArrayType type exposes the following members.

DefaultValue

Gets the type dependent default value which can be assigned to an entity of the type represented.

C#

public override object DefaultValue { get; }


Property Value

Object

The type dependent default value.

CreateEntity()

Creates a new IPlcEntity object which represents a concrete accessible entity of this PlcType.

C#

public override IPlcEntity CreateEntity()


Returns

IPlcEntity

An instance implementing the IPlcEntity interface its Type property does refer to this PlcType.



Exceptions

NotSupportedException

This pure PlcType instance can't create an entity, because it is an abstract type representation.

Of(Int32)

Retrieves the according PlcInt16ArrayType which matches the supplied type metadata.

C#

public static PlcInt16ArrayType Of(int length)


Parameters

length Int32

The maximum length used to store a PlcInt16ArrayType value.


Returns

PlcInt16ArrayType

The PlcInt16ArrayType which matches with the characteristics supplied.



Exceptions

ArgumentOutOfRangeException

The length is out of the bounds defined by MinLength and MaxLength.

Of(PlcIdentity, Int32)

Retrieves the according PlcInt16ArrayType which matches the supplied type metadata.

C#

public static PlcInt16ArrayType Of(PlcIdentity identity, int length)


Parameters

identity PlcIdentity

The PlcIdentity to which the PlcInt16ArrayType does refer.

length Int32

The maximum length used to store a PlcInt16ArrayType value.


Returns

PlcInt16ArrayType

The PlcInt16ArrayType which matches with the characteristics supplied.



Exceptions

ArgumentException

The identity does not provide the necessary information required to address the type of data.

ArgumentNullException

The identity is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The length is out of the bounds defined by MinLength and MaxLength.

Of(PlcIdentity, PlcName, Int32)

Retrieves the according PlcInt16ArrayType which matches the supplied type metadata.

C#

public static PlcInt16ArrayType Of(PlcIdentity identity, PlcName name, int length)


Parameters

identity PlcIdentity

The PlcIdentity to which the PlcInt16ArrayType does refer.

name PlcName

The PlcName of the PlcType.

length Int32

The maximum length used to store a PlcInt16ArrayType value.


Returns

PlcInt16ArrayType

The PlcInt16ArrayType which matches with the characteristics supplied.



Exceptions

ArgumentException

The identity does not provide the necessary information required to address the type of data.

ArgumentNullException

The identity or name is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The length is out of the bounds defined by MinLength and MaxLength.