IMember 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 IMember : IField, 
    IAttributedInstance, IInstance, IBitSize

VB

Public Interface IMember
    Inherits 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:

IsReference

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

IMember Interface 14:

IsStatic

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

IMember Interface 15:

Offset

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

IMember Interface 16:

ParentType

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

IMember Interface 17:

Size

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

IMember Interface 18:

TypeName

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

Reference

TwinCAT.TypeSystem Namespace