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:

IsProperty

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

IField Properties 12:

IsReference

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

IField Properties 13:

IsStatic

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

IField Properties 14:

ParentType

Gets the Parent Struct/Union of this IField.

IField Properties 15:

Size

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

IField Properties 16:

TypeName

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

IField Properties 17:

ValueEncoding

Gets the value encoding.
(Inherited from IAttributedInstance)

Reference

IField Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026