IInstance Interface

Interface specifying instance objects.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public interface IInstance : IBitSize

The IInstance type exposes the following members.

Properties

 

Name

Description

IInstance Interface 1:

BitSize

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

IInstance Interface 2:

ByteSize

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

IInstance Interface 3:

Comment

Gets the comment of the IInstance

IInstance Interface 4:

DataType

Gets the IDataType of the IInstance.

IInstance Interface 5:

InstanceName

Gets the name of the instance (without periods (.)

IInstance Interface 6:

InstancePath

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

IInstance Interface 7:

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

IInstance Interface 8:

IsByteAligned

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

IInstance Interface 9:

IsPointer

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

IInstance Interface 10:

IsReference

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

IInstance Interface 11:

IsStatic

Gets a value indicating whether this IInstance is static.

IInstance Interface 12:

Size

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

IInstance Interface 13:

TypeName

Gets the name of the DataType that is used for this IInstance.

Extension Methods

 

Name

Description

ReferencesExternalData

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

Reference

TwinCAT.TypeSystem Namespace