DynamicSymbol Properties

The DynamicSymbol type exposes the following members.

Properties

 

Name

Description

_InnerSymbol

Inner symbol object wrapped by this DynamicSymbol

AccessRights

Gets the access rights.

Attributes

Gets the Symbol Attributes

BitSize

Gets the size of the IDataType in bits.

ByteSize

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

Category

Gets the category.

Comment

Gets the comment of the IInstance

Connection

Gets the connection bound to this DynamicSymbol

ContextMask

Gets the context mask.

DataType

Gets the IDataType of the IInstance.

HasValue

Gets a value indicating whether this instance has value (only the non VirtualInstances, what means the Symbols with locations).

InstanceName

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

InstancePath

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

IsBitType

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

IsByteAligned

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

IsContainerType

Gets a value indicating whether this Symbol is acontainer type.

IsPersistent

Gets a value indicating whether this ISymbol is persistent.

IsPointer

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

IsPrimitiveType

Gets a value indicating whether this instance is a primitive type.

IsReadOnly

Gets a value indicating whether this ISymbol is read only.

IsRecursive

Gets a value indicating whether this instance is recursive.

IsReference

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

IsStatic

Gets a value indicating whether this instance is static.

NormalizedName

Gets the normalized instance name (fixed name for dynamic property access that doesn't contain invalid characters),

NotificationSettings

Gets the notification settings.

Parent

Gets the parent Symbol

Size

Gets the size of the IInstance in bytes.

SubSymbols

Gets the SubSymbols of the ISymbol

TypeName

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

Reference

DynamicSymbol Class

TwinCAT.TypeSystem Namespace