IAttributedInstance Interface

Interface IAttributedInstance


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

Syntax

C#

public interface IAttributedInstance : IInstance, 
    IBitSize

The IAttributedInstance type exposes the following members.

Properties

 

Name

Description

IAttributedInstance Interface 1:

Attributes

Gets the Type Attributes.

IAttributedInstance Interface 2:

BitSize

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

IAttributedInstance Interface 3:

ByteSize

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

IAttributedInstance Interface 4:

Comment

Gets the comment of the IInstance
(Inherited from IInstance)

IAttributedInstance Interface 5:

DataType

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

IAttributedInstance Interface 6:

InstanceName

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

IAttributedInstance Interface 7:

InstancePath

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

IAttributedInstance Interface 8:

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)

IAttributedInstance Interface 9:

IsByteAligned

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

IAttributedInstance Interface 10:

IsPointer

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

IAttributedInstance Interface 11:

IsProperty

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

IAttributedInstance Interface 12:

IsReference

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

IAttributedInstance Interface 13:

IsStatic

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

IAttributedInstance Interface 14:

Size

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

IAttributedInstance Interface 15:

TypeName

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

IAttributedInstance Interface 16:

ValueEncoding

Gets the value encoding.

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 IInstance

Beckhoff Automation GmbH & Co. KG 2001-2026