DataTypeCollection.T. Class
Data type collection
Inheritance Hierarchy
System.Object
TwinCAT.TypeSystem.Generic.DataTypeCollection.T.
TwinCAT.TypeSystem.DataTypeCollection
Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public class DataTypeCollection<T> : IList<T>,
ICollection<T>, IEnumerable<T>, IEnumerable, IDataTypeCollection<T>
where T : class, IDataType
Type Parameters
T |
The DataTypeCollection.T. type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the DataTypeCollection class. | |
|
Initializes a new instance of the DataTypeCollection.T. class. |
Properties
|
Name |
Description |
---|---|---|
|
Gets the count of contained IDataTypes. | |
|
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 | |
|
Converts the DataTypeCollection.T. into a ReadOnlyCollection.T. | |
|
Clears the collection. | |
|
Clones this instance. | |
|
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. | |
|
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. | |
|
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. | |
|
Inserts an IDataType into the DataTypeCollection. | |
|
Determines the specified IDataType | |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Removes the specified IDataType. | |
|
Removes the IDataType object at the specified index. | |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
Tries to get the specified IDataType from the IDataTypeCollection.T.. |