IMember Properties

The IMember type exposes the following members.

Properties

 

Name

Description

IMember Properties 1:

Attributes

Gets the Type Attributes. (Inherited from IAttributedInstance.)

IMember Properties 2:

BitOffset

Gets the bit offset.

IMember Properties 3:

BitSize

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

IMember Properties 4:

ByteOffset

Gets the byte offset.

IMember Properties 5:

ByteSize

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

IMember Properties 6:

Comment

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

IMember Properties 7:

DataType

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

IMember Properties 8:

InstanceName

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

IMember Properties 9:

InstancePath

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

IMember Properties 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 Properties 11:

IsByteAligned

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

IMember Properties 12:

IsPointer

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

IMember Properties 13:

IsReference

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

IMember Properties 14:

IsStatic

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

IMember Properties 15:

Offset

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

IMember Properties 16:

ParentType

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

IMember Properties 17:

Size

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

IMember Properties 18:

TypeName

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

Reference

IMember Interface

TwinCAT.TypeSystem Namespace