IField Properties

The IField type exposes the following members.

Properties

 

Name

Description

IField Properties 1:

Attributes

Gets the Type Attributes. (Inherited from IAttributedInstance.)

IField Properties 2:

BitSize

Gets the size of the IDataType in bits. (Inherited from IBitSize.)

IField Properties 3:

ByteSize

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

IField Properties 4:

Comment

Gets the comment of the IInstance (Inherited from IInstance.)

IField Properties 5:

DataType

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

IField Properties 6:

InstanceName

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

IField Properties 7:

InstancePath

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

IField Properties 8:

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 IBitSize.)

IField Properties 9:

IsByteAligned

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

IField Properties 10:

IsPointer

Indicates that the IInstance represents a Pointer type (Pointer TO) (Inherited from IInstance.)

IField Properties 11:

IsReference

Indicates that the IInstance represents a Reference type (REFERENCE TO) (Inherited from IInstance.)

IField Properties 12:

IsStatic

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

IField Properties 13:

ParentType

Gets the Parent Struct/Union of this IField.

IField Properties 14:

Size

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

IField Properties 15:

TypeName

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

IField Properties 16:

ValueEncoding

Gets the value encoding. (Inherited from IAttributedInstance.)

Reference

IField Interface

TwinCAT.TypeSystem Namespace