Click or drag to resize

LayoutFieldSetInteger Method

Updates the integer value of the index occurence of field in message.

Namespace:  OBCOM.NetSwitchLib.Layouts
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public virtual void SetInteger(
	LayoutMessage message,
	int index,
	Nullable<int> value
)

Parameters

message
Type: OBCOM.NetSwitchLib.LayoutsLayoutMessage
The message that will be updated.
index
Type: SystemInt32
The occurence index of the field.
value
Type: SystemNullableInt32
The new integer value of the field.
Exceptions
ExceptionCondition
IndexOutOfRangeException If index is out of bounds.
NotSupportedException If the field's type is not NUMERIC or SIGNED.
Remarks

This method can only be applied to fields of type NUMERIC or SIGNED.

If value is null then the field's data is set to NULL (see IsNull for more details).

See Also