IAttributedInstance Properties

The IAttributedInstance type exposes the following members.

Properties

 

Name

Description

Attributes

Gets the Type Attributes.

BitSize

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

ByteSize

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

Comment

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

DataType

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

InstanceName

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

InstancePath

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

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.)

IsByteAligned

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

IsPointer

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

IsReference

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

IsStatic

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

Size

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

TypeName

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

Reference

IAttributedInstance Interface

TwinCAT.TypeSystem Namespace