DimensionCollection Class

Collection class for Array Dimensions

Inheritance Hierarchy

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

Syntax

C#

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

VB

Public Class DimensionCollection
    Implements IDimensionCollection, IList(Of IDimension), 
    ICollection(Of IDimension), IEnumerable(Of 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(Int32)

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

DimensionCollection Class 3:

DimensionCollection(.Int32.)

Initializes a new instance of the DimensionCollection class.

DimensionCollection Class 4:

DimensionCollection(IEnumerable.IDimension.)

Initializes a new instance of the DimensionCollection class.

Properties

 

Name

Description

DimensionCollection Class 5:

Count

Gets the number of elements contained in the ICollection.T..

DimensionCollection Class 6:

ElementCount

Gets the Number of elements in all Dimensions

DimensionCollection Class 7:

IsReadOnly

Gets a value indicating whether the ICollection.T. is read-only.

DimensionCollection Class 8:

Item

Gets or sets the element at the specified index.

DimensionCollection Class 9:

LowerBounds

Gets the lower bounds.

DimensionCollection Class 10:

UpperBounds

Gets the upper bounds.

Methods

 

Name

Description

DimensionCollection Class 11:

Add

Adds an item to the ICollection.T..

DimensionCollection Class 12:

AsReadOnly

Returns a read only version of this DimensionCollection.

DimensionCollection Class 13:

Clear

Removes all items from the ICollection.T..

DimensionCollection Class 14:

Contains

Determines whether the ICollection.T. contains a specific value.

DimensionCollection Class 15:

CopyTo

Copies to.

DimensionCollection Class 16:

Equals

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

DimensionCollection Class 17:

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 18:

GetDimensionLengths

Gets an array the specifies the Lengths of each Array Dimension

DimensionCollection Class 19:

GetEnumerator

Returns an enumerator that iterates through the collection.

DimensionCollection Class 20:

GetHashCode

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

DimensionCollection Class 21:

GetType

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

DimensionCollection Class 22:

IndexOf

Determines the index of a specific item in the IList.T..

DimensionCollection Class 23:

Insert

Inserts an item to the IList.T. at the specified index.

DimensionCollection Class 24:

MemberwiseClone

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

DimensionCollection Class 25:

Remove

Removes the first occurrence of a specific object from the ICollection.T..

DimensionCollection Class 26:

RemoveAt

Removes the IList.T. item at the specified index.

DimensionCollection Class 27:

ToString

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

Reference

TwinCAT.TypeSystem Namespace