Instance Properties

The Instance type exposes the following members.

Properties

 

Name

Description

Instance Properties 1:

Attributes

Gets the Type Attributes.

Instance Properties 2:

BitSize

Gets the size of this Instance in bits.

Instance Properties 3:

ByteSize

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

Instance Properties 4:

Category

Gets the the DataTypeCategory of the Instance.

Instance Properties 5:

Comment

Gets the comment.

Instance Properties 6:

ContextMask

Gets the context mask of this instance.

Instance Properties 7:

DataType

Gets the IDataType of the IInstance.

Instance Properties 8:

HasValue

Gets a value indicating whether this instance has a value.

Instance Properties 9:

InstanceName

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

Instance Properties 10:

InstancePath

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

Instance Properties 11:

IsBitType

Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping

Instance Properties 12:

IsByteAligned

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

Instance Properties 13:

IsPersistent

Indicates that this instance is persistent.

Instance Properties 14:

IsPointer

Gets a value indicating whether this instance is reference.

Instance Properties 15:

IsReadOnly

Indicates that this instance is read only.

Instance Properties 16:

IsReference

Gets a value indicating whether this instance is reference.

Instance Properties 17:

IsStatic

Gets a value indicating whether this IInstance is static.

Instance Properties 18:

IsTcComInterfacePointer

Indicates that this instance is a TcComInterfacePointer.

Instance Properties 19:

IsTypeGuid

Indicates that this instance has set TypeGuid flag.

Instance Properties 20:

Namespace

Gets the namespace name.

Instance Properties 21:

Size

Gets the size of the IDataType in bytes or Bits dependant on IsBitType

Instance Properties 22:

TypeName

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

Reference

Instance Class

TwinCAT.Ads.TypeSystem Namespace