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>,
IEnumerableThe DimensionCollection type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the DimensionCollection class. | |
|
|
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. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the number of elements contained in the ICollectionT. | |
|
|
Gets the Number of elements in all Dimensions | |
|
|
Gets an empty DimensionCollection | |
|
|
Gets a value indicating whether this instance is non zero index based. | |
|
|
Gets a value indicating whether the ICollectionT 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 ICollectionT. | |
|
|
Returns a read only version of this DimensionCollection. | |
|
|
Removes all items from the ICollectionT. | |
|
|
Determines whether the ICollectionT contains a specific value. | |
|
|
Copies to. | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
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. | |
|
|
Gets the Type of the current
instance. | |
|
|
Determines the index of a specific item in the IListT. | |
|
|
Inserts an item to the IListT at the specified index. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Removes the first occurrence of a specific object from the ICollectionT. | |
|
|
Removes the IListT item at the specified index. | |
|
|
Returns a string that represents the current object. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Adds a Dimension (FluentInterface) |
- DimensionCollection Constructor (Int32)
- DimensionCollection Constructor (.Int32.)
- DimensionCollection Constructor (IEnumerable.IDimension.)
- DimensionCollection.Count Property
- DimensionCollection.ElementCount Property
- DimensionCollection.IsReadOnly Property
- DimensionCollection.Item Property
- DimensionCollection.LowerBounds Property
- DimensionCollection.UpperBounds Property
- DimensionCollection.Empty Property
- DimensionCollection.IsNonZeroBased Property
- DimensionCollection.Add Method
- DimensionCollection.AsReadOnly Method
- DimensionCollection.Clear Method
- DimensionCollection.Contains Method
- DimensionCollection.CopyTo Method
- DimensionCollection.GetDimensionLengths Method
- DimensionCollection.GetEnumerator Method
- DimensionCollection.IndexOf Method
- DimensionCollection.Insert Method
- DimensionCollection.Remove Method
- DimensionCollection.RemoveAt Method