PlcValueInfo<T> Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcValueInfo<T> type exposes the following members.

PlcValueInfo(PlcType, PlcName)

Initializes a new instance of the PlcValueInfo´1 class using the specified type and name.

C#

protected PlcValueInfo(PlcType type, PlcName name)


Parameters

type PlcType

The type of value member.

name PlcName

The name of the value member.


Exceptions

ArgumentNullException

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

PlcValueInfo(PlcType, PlcName, T)

Initializes a new instance of the PlcValueInfo´1 class using the specified type, name and initialValue.

C#

protected PlcValueInfo(PlcType type, PlcName name, T initialValue)


Parameters

type PlcType

The type of value member.

name PlcName

The name of the value member.

initialValue T

The initial value of the new PlcValueInfo´1.


Exceptions

ArgumentNullException

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

InitialValue

Gets or sets the initial value of the member.

C#

public T InitialValue { get; protected set; }


Property Value

T

The initial value of the member.

ToString()

Retrieves the string representation of the PlcValueInfo´1.

C#

public override string ToString()


Returns

String

The string representation of the PlcValueInfo´1.