DimensionCollection Class

Collection class for Array Dimensions

Inheritance Hierarchy

SystemObject
  TwinCAT.TypeSystemDimensionCollection

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

Syntax

C#

public class DimensionCollection : IDimensionCollection, 
    IList<IDimension>, ICollection<IDimension>, IEnumerable<IDimension>, 
    IEnumerable

The DimensionCollection type exposes the following members.

Constructors

 

Name

Description

DimensionCollection Class 1:

DimensionCollection

Initializes a new instance of the DimensionCollection class.

DimensionCollection Class 2:

DimensionCollection(IEnumerableIDimension)

Initializes a new instance of the DimensionCollection class.

DimensionCollection Class 3:

DimensionCollection(Int32)

Initializes a new instance of an 1-Dimensional representing DimensionCollection class.

DimensionCollection Class 4:

DimensionCollection(Int32)

Initializes a new instance of the DimensionCollection class.

Properties

 

Name

Description

DimensionCollection Class 5:

Count

Gets the number of elements contained in the ICollectionT.

DimensionCollection Class 6:

ElementCount

Gets the Number of elements in all Dimensions

DimensionCollection Class 7:

Empty

Gets an empty DimensionCollection

DimensionCollection Class 8:

IsNonZeroBased

Gets a value indicating whether this instance is non zero index based.

DimensionCollection Class 9:

IsReadOnly

Gets a value indicating whether the ICollectionT is read-only.

DimensionCollection Class 10:

Item

Gets or sets the element at the specified index.

DimensionCollection Class 11:

LowerBounds

Gets the lower bounds.

DimensionCollection Class 12:

UpperBounds

Gets the upper bounds.

Methods

 

Name

Description

DimensionCollection Class 13:

Add

Adds an item to the ICollectionT.

DimensionCollection Class 14:

AsReadOnly

Returns a read only version of this DimensionCollection.

DimensionCollection Class 15:

Clear

Removes all items from the ICollectionT.

DimensionCollection Class 16:

Contains

Determines whether the ICollectionT contains a specific value.

DimensionCollection Class 17:

CopyTo

Copies to.

DimensionCollection Class 18:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

DimensionCollection Class 19:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

DimensionCollection Class 20:

GetDimensionLengths

Gets an array the specifies the Lengths of each Array Dimension

DimensionCollection Class 21:

GetEnumerator

Returns an enumerator that iterates through the collection.

DimensionCollection Class 22:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

DimensionCollection Class 23:

GetType

Gets the Type of the current instance.
(Inherited from Object)

DimensionCollection Class 24:

IndexOf

Determines the index of a specific item in the IListT.

DimensionCollection Class 25:

Insert

Inserts an item to the IListT at the specified index.

DimensionCollection Class 26:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

DimensionCollection Class 27:

Remove

Removes the first occurrence of a specific object from the ICollectionT.

DimensionCollection Class 28:

RemoveAt

Removes the IListT item at the specified index.

DimensionCollection Class 29:

ToString

Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

 

Name

Description

AddDimension

Adds a Dimension (FluentInterface)
(Defined by IDimensionCollectionExtension)

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026