IMember Interface

Specifies a single field/member of a Struct DataType.


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public interface IMember : IField, 
    IAttributedInstance, IInstance, IBitSize

The IMember type exposes the following members.

Properties

 

Name

Description

IMember Interface 1:

Attributes

Gets the Type Attributes.
(Inherited from IAttributedInstance)

IMember Interface 2:

BitOffset

Gets the bit offset.

IMember Interface 3:

BitSize

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

IMember Interface 4:

ByteOffset

Gets the byte offset.

IMember Interface 5:

ByteSize

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

IMember Interface 6:

Comment

Gets the comment of the IInstance
(Inherited from IInstance)

IMember Interface 7:

DataType

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

IMember Interface 8:

InstanceName

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

IMember Interface 9:

InstancePath

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

IMember Interface 10:

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)

IMember Interface 11:

IsByteAligned

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

IMember Interface 12:

IsPointer

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

IMember Interface 13:

IsProperty

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

IMember Interface 14:

IsReference

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

IMember Interface 15:

IsStatic

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

IMember Interface 16:

Offset

Gets the offset of the IMember within the parent IStructType in bits or bytes dependent on IsBitType.

IMember Interface 17:

ParentType

Gets the Parent Struct/Union of this IField.
(Inherited from IField)

IMember Interface 18:

Size

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

IMember Interface 19:

TypeName

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

IMember Interface 20:

ValueEncoding

Gets the value encoding.
(Inherited from IAttributedInstance)

Extension Methods

 

Name

Description

HasExternalDataReferences

Indicates, that the Instance value includes process memory data, that cannot be read in one memory block.
(Defined by DataTypeExtension)

IsExternalDataReference

Indicates, that the field is static or is not part of the parents processimage memory location
(Defined by DataTypeExtension)

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026