Field Properties

The Field type exposes the following members.

Properties

 

Name

Description

Field Properties 1:

Attributes

Gets the Type Attributes. (Inherited from Instance.)

Field Properties 2:

BitSize

Gets the size of this Instance in bits. (Inherited from Instance.)

Field Properties 3:

ByteSize

Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from Instance.)

Field Properties 4:

Category

Gets the the DataTypeCategory of the Instance. (Inherited from Instance.)

Field Properties 5:

Comment

Gets the comment. (Inherited from Instance.)

Field Properties 6:

ContextMask

Gets the context mask of this instance. (Inherited from Instance.)

Field Properties 7:

DataType

Gets the IDataType of the IInstance. (Inherited from Instance.)

Field Properties 8:

HasValue

Gets a value indicating whether this instance has a value. (Inherited from Instance.)

Field Properties 9:

InstanceName

Gets the name of the instance (without periods (.) (Inherited from Instance.)

Field Properties 10:

InstancePath

Gets the relative / absolute access path to the instance (with periods (.)) (Inherited from Instance.)

Field Properties 11:

IsBitType

Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping (Inherited from Instance.)

Field Properties 12:

IsByteAligned

Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) (Inherited from Instance.)

Field Properties 13:

IsPersistent

Indicates if this instance is persistent. (Inherited from Instance.)

Field Properties 14:

IsPointer

Gets a value indicating whether this instance is reference. (Inherited from Instance.)

Field Properties 15:

IsReadOnly

Indicates if this instance is read only. (Inherited from Instance.)

Field Properties 16:

IsReference

Gets a value indicating whether this instance is reference. (Inherited from Instance.)

Field Properties 17:

IsStatic

Gets a value indicating whether this IInstance is static. (Inherited from Instance.)

Field Properties 18:

IsTcComInterfacePointer

Indicates if this instance is a TcComInterfacePointer. (Inherited from Instance.)

Field Properties 19:

IsTypeGuid

Indicates if this instance has set TypeGuid flag. (Inherited from Instance.)

Field Properties 20:

Namespace

Gets the namespace name. (Inherited from Instance.)

Field Properties 21:

ParentType

Gets the Parent of this IField.

Field Properties 22:

Size

Gets the size of the IDataType in bytes or Bits dependant on IsBitType (Inherited from Instance.)

Field Properties 23:

TypeName

Gets the name of the DataType that is used for this IInstance. (Inherited from Instance.)

Reference

Field Class

TwinCAT.Ads.TypeSystem Namespace