ReadOnlyDimensionCollection Class
ReadOnly version of the DimensionCollection
Inheritance Hierarchy
System.Object
System.Collections.ObjectModel.ReadOnlyCollection<IDimension>
TwinCAT.TypeSystem.ReadOnlyDimensionCollection
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class ReadOnlyDimensionCollection : ReadOnlyCollection<IDimension>,
IDimensionCollection, IList<IDimension>, ICollection<IDimension>,
IEnumerable<IDimension>, IEnumerableThe ReadOnlyDimensionCollection type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the number of elements contained in the ReadOnlyCollection<T> instance. | |
|
|
Gets the Number of elements in all Dimensions | |
|
|
Returns an empty ReadOnlyDimensionCollection | |
|
|
Gets a value indicating whether this instance is non zero index based. | |
|
|
Gets the element at the specified index. | |
|
|
Returns the IList<T> that the ReadOnlyCollection<T> wraps. | |
|
|
Gets the lower bounds. | |
|
|
Gets the upper bounds. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether an element is in the ReadOnlyCollection<T>. | |
|
|
Copies the entire ReadOnlyCollection<T> to a compatible one-dimensional Array, starting at the specified index of the target array. | |
|
|
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 ReadOnlyCollection<T>. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current instance. | |
|
|
Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollection<T>. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Returns a string that represents the current object. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Adds a Dimension (FluentInterface)
|