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: 6.0.328+39e3229
Syntax
C#
public class DataTypeCollection : DataTypeCollection<IDataType>,
IDataTypeCollection, IDataTypeCollection<IDataType>, IList<IDataType>,
ICollection<IDataType>, IEnumerable<IDataType>, IEnumerable
The 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. (Inherited from DataTypeCollection.T..) | |
|
Gets the empty collection. | |
|
Gets a value indicating whether this instance is read only. (Inherited from DataTypeCollection.T..) | |
|
Gets or sets the IDataType at the specified index. (Inherited from DataTypeCollection.T..) | |
|
Gets the IDataType with the specified name. (Inherited from DataTypeCollection.T..) |
Methods
|
Name |
Description |
---|---|---|
|
Adds the specified item to the collection. (Inherited from DataTypeCollection.T..) | |
|
Adds a range of types (Inherited from DataTypeCollection.T..) | |
|
Returns A ReadOnly-Version of the DataTypeCollection. | |
|
Clears the collection. (Inherited from DataTypeCollection.T..) | |
|
Clones this DataTypeCollection (Shallow Copy) | |
|
Determines whether this DataTypeCollection contains the specified IDataType. (Inherited from DataTypeCollection.T..) | |
|
Determines whether the container contains the specified IDataType. (Inherited from DataTypeCollection.T..) | |
|
Copies the data types to the specified array, starting at the array index. (Inherited from DataTypeCollection.T..) | |
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Gets the enumerator. (Inherited from DataTypeCollection.T..) | |
|
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
Determines the Index of the specified IDataType. (Inherited from DataTypeCollection.T..) | |
|
Inserts an IDataType into the DataTypeCollection. (Inherited from DataTypeCollection.T..) | |
|
Determines the specified IDataType (Inherited from DataTypeCollection.T..) | |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Removes the specified IDataType. (Inherited from DataTypeCollection.T..) | |
|
Removes the IDataType object at the specified index. (Inherited from DataTypeCollection.T..) | |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
Tries to get the specified IDataType from the IDataTypeCollection.T.. (Inherited from DataTypeCollection.T..) |