DataTypeCollection Class
Collection of DataTypes.
Inheritance Hierarchy
System.Object
TwinCAT.TypeSystem.Generic.DataTypeCollection<IDataType>
TwinCAT.TypeSystem.DataTypeCollection
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class DataTypeCollection : DataTypeCollection<IDataType>,
IDataTypeCollection, IDataTypeCollection<IDataType>, IList<IDataType>,
ICollection<IDataType>, IEnumerable<IDataType>, IEnumerableThe DataTypeCollection type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the DataTypeCollection class. | |
|
|
Initializes a new instance of the DataTypeCollection class (Copy constructor). |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the count of contained IDataTypes.
| |
|
|
Gets the empty collection. | |
|
|
Gets a value indicating whether this instance is read only.
| |
|
|
Gets or sets the IDataType at the specified index.
| |
|
|
Gets the IDataType with the specified name.
|
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Adds the specified item to the collection.
| |
|
|
Adds a range of types
| |
|
|
Returns A ReadOnly-Version of the DataTypeCollection. | |
|
|
Clears the collection.
| |
|
|
Clones this DataTypeCollection (Shallow Copy) | |
|
|
Determines whether this DataTypeCollection contains the specified IDataType.
| |
|
|
Determines whether the container contains the specified IDataType.
| |
|
|
Copies the data types to the specified array, starting at the array index.
| |
|
|
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 the enumerator.
| |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current instance. | |
|
|
Determines the Index of the specified IDataType.
| |
|
|
Inserts an IDataType into the DataTypeCollection.
| |
|
|
Determines the specified IDataType | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Removes the specified IDataType.
| |
|
|
Removes the IDataType object at the specified index.
| |
|
|
Returns a string that represents the current object. | |
|
|
Tries to get the specified IDataType from the IDataTypeCollection<T>.
|