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  | 
|---|---|---|
| 
                   
                      | 
                   Initializes a new instance of the DimensionCollection class.  | |
| 
                   
                      | 
                   Initializes a new instance of an 1-Dimensional representing DimensionCollection class.  | |
| 
                   
                      | 
                   Initializes a new instance of the DimensionCollection class.  | |
| 
                   
                      | 
                   Initializes a new instance of the DimensionCollection class.  | 
Properties
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Gets the number of elements contained in the ICollection.T..  | |
| 
                   
                      | 
                   Gets the Number of elements in all Dimensions  | |
| 
                   
                      | 
                   Gets a value indicating whether the ICollection.T. is read-only.  | |
| 
                   
                      | 
                   Gets or sets the element at the specified index.  | |
| 
                   
                      | 
                   Gets the lower bounds.  | |
| 
                   
                      | 
                   Gets the upper bounds.  | 
Methods
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Adds an item to the ICollection.T..  | |
| 
                   
                      | 
                   Returns a read only version of this DimensionCollection.  | |
| 
                   
                      | 
                   Removes all items from the ICollection.T..  | |
| 
                   
                      | 
                   Determines whether the ICollection.T. contains a specific value.  | |
| 
                   
                      | 
                   Copies to.  | |
| 
                   
                      | 
                   Determines whether the specified object is equal to the current object. (Inherited from Object.)  | |
| 
                   
                      | 
                   Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  | |
| 
                   
                      | 
                   Gets an array the specifies the Lengths of each Array Dimension  | |
| 
                   
                      | 
                   Returns an enumerator that iterates through the collection.  | |
| 
                   
                      | 
                   Serves as the default hash function. (Inherited from Object.)  | |
| 
                   
                      | 
                   Gets the Type of the current instance. (Inherited from Object.)  | |
| 
                   
                      | 
                   Determines the index of a specific item in the IList.T..  | |
| 
                   
                      | 
                   Inserts an item to the IList.T. at the specified index.  | |
| 
                   
                      | 
                   Creates a shallow copy of the current Object. (Inherited from Object.)  | |
| 
                   
                      | 
                   Removes the first occurrence of a specific object from the ICollection.T..  | |
| 
                   
                      | 
                   Removes the IList.T. item at the specified index.  | |
| 
                   
                      | 
                   Returns a string that represents the current object. (Inherited from Object.)  |