IArrayInstance Interface

Interface representing an array instance

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public interface IArrayInstance : ISymbol, 
    IAttributedInstance, IInstance, IBitSize

VB

Public Interface IArrayInstance
    Inherits ISymbol, IAttributedInstance, IInstance, IBitSize

The IArrayInstance type exposes the following members.

Properties

 

Name

Description

IArrayInstance Interface 1:

Attributes

Gets the Type Attributes. (Inherited from IAttributedInstance.)

IArrayInstance Interface 2:

BitSize

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

IArrayInstance Interface 3:

ByteSize

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

IArrayInstance Interface 4:

Category

Gets the Symbol/Datatype Category (Inherited from ISymbol.)

IArrayInstance Interface 5:

Comment

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

IArrayInstance Interface 6:

DataType

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

IArrayInstance Interface 7:

Dimensions

Gets the dimensions as read only collection.

IArrayInstance Interface 8:

Elements

Gets the contained Array Elements as read only collection.

IArrayInstance Interface 9:

ElementType

Gets the type of the contained elements.

IArrayInstance Interface 10:

InstanceName

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

IArrayInstance Interface 11:

InstancePath

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

IArrayInstance Interface 12:

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

IArrayInstance Interface 13:

IsByteAligned

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

IArrayInstance Interface 14:

IsContainerType

Gets a value indicating whether this Symbol is a container type. (Inherited from ISymbol.)

IArrayInstance Interface 15:

IsPersistent

Gets a value indicating whether this ISymbol is persistent. (Inherited from ISymbol.)

IArrayInstance Interface 16:

IsPointer

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

IArrayInstance Interface 17:

IsPrimitiveType

Gets a value indicating whether this instance is a primitive type. (Inherited from ISymbol.)

IArrayInstance Interface 18:

IsReadOnly

Gets a value indicating whether this ISymbol is read only. (Inherited from ISymbol.)

IArrayInstance Interface 19:

IsRecursive

Gets a value indicating whether this instance is recursive. (Inherited from ISymbol.)

IArrayInstance Interface 20:

IsReference

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

IArrayInstance Interface 21:

IsStatic

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

IArrayInstance Interface 22:

Item

Gets the ISymbol with the specified indices.

IArrayInstance Interface 23:

Parent

Gets the parent Symbol (Inherited from ISymbol.)

IArrayInstance Interface 24:

Size

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

IArrayInstance Interface 25:

SubSymbols

Gets the SubSymbols of the ISymbol (Inherited from ISymbol.)

IArrayInstance Interface 26:

TypeName

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

Methods

 

Name

Description

IArrayInstance Interface 27:

TryGetElement(IList..Int32.., ISymbol.)

Tries to get the array element with the specified indices (jagged array support).

IArrayInstance Interface 28:

TryGetElement(.Int32., ISymbol.)

Tries to get the array element with specified indices (only first level on jagged arrays)

Reference

TwinCAT.TypeSystem Namespace