DSField class | QSYS API Reference Guide

Describes a field in a Data Structure.

Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll

Inheritance: Object

Remarks

Use this class when defining a field-base layout for a Data Structure.



Properties

Type Name Description
ILayout Layout Gets the Layout of this field.
Int32 Length Gets the length of the field.
String Name Gets the name of the field.
Int32 Start Gets the position of the field in the Data Structure buffer.
Type Type Gets the field type.
Object Value Gets or sets the field value.

Methods

Signature Description
ClearField() Sets the field value to its default according to its type.
Clone() Creates a copy of this IDSField object
SetStartingPosition(Int32) Sets the value of Start, the staring position of the field in the Data Structure buffer.

void ClearField()

Sets the field value to its default according to its type.

void ClearField()

IDSField Clone()

Creates a copy of this IDSField object

IDSField Clone()

void SetStartingPosition(int start)

Sets the value of Start, the staring position of the field in the Data Structure buffer.

void SetStartingPosition(int start)

Parameters

Type Parameter name Description
Int32 start The starting position of this field in the DataStructure buffer