IField Interface

Specifies a single field/member of a Struct DataType.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public interface IField : IAttributedInstance, IInstance, 
    IBitSize

VB

Public Interface IField
    Inherits IAttributedInstance, IInstance, IBitSize

The IField type exposes the following members.

Properties

 

Name

Description

IField Interface 1:

Attributes

Gets the Type Attributes. (Inherited from IAttributedInstance.)

IField Interface 2:

BitSize

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

IField Interface 3:

ByteSize

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

IField Interface 4:

Comment

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

IField Interface 5:

DataType

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

IField Interface 6:

InstanceName

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

IField Interface 7:

InstancePath

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

IField Interface 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 Interface 9:

IsByteAligned

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

IField Interface 10:

IsPointer

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

IField Interface 11:

IsReference

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

IField Interface 12:

IsStatic

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

IField Interface 13:

ParentType

Gets the Parent Struct/Union of this IField.

IField Interface 14:

Size

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

IField Interface 15:

TypeName

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

Reference

TwinCAT.TypeSystem Namespace