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: 4.3.0.0

Syntax

C#

public class DataTypeCollection : DataTypeCollection<IDataType>

VB

Public Class DataTypeCollection
    Inherits DataTypeCollection(Of IDataType)

The DataTypeCollection type exposes the following members.

Constructors

 

Name

Description

DataTypeCollection Class 1:

DataTypeCollection.

Initializes a new instance of the DataTypeCollection class.

DataTypeCollection Class 2:

DataTypeCollection(IEnumerable.IDataType.)

Initializes a new instance of the DataTypeCollection class (Copy constructor).

Properties

 

Name

Description

DataTypeCollection Class 3:

Count

Gets the count of contained IDataTypes. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 4:

IsReadOnly

Gets a value indicating whether this instance is read only. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 5:

Item.Int32.

Gets or sets the IDataType at the specified index. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 6:

Item.String.

Gets the IDataType with the specified name. (Inherited from DataTypeCollection.T..)

Methods

 

Name

Description

DataTypeCollection Class 7:

Add

Adds the specified item to the collection. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 8:

AddRange

Adds a range of types (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 9:

AsReadOnly

Returns A ReadOnly-Version of the DataTypeCollection.

DataTypeCollection Class 10:

Clear

Clears the collection. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 11:

Clone

Clones this DataTypeCollection (Shallow Copy)

DataTypeCollection Class 12:

Contains

Determines whether this DataTypeCollection contains the specified IDataType. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 13:

ContainsType

Determines whether the container contains the specified IDataType. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 14:

CopyTo

Copies the data types to the specified array, starting at the array index. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 15:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

DataTypeCollection Class 16:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

DataTypeCollection Class 17:

GetEnumerator

Gets the enumerator. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 18:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

DataTypeCollection Class 19:

GetType

Gets the Type of the current instance. (Inherited from Object.)

DataTypeCollection Class 20:

IndexOf

Determines the Index of the specified IDataType. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 21:

Insert

Inserts an IDataType into the DataTypeCollection. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 22:

LookupType

Determines the specified IDataType (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 23:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

DataTypeCollection Class 24:

Remove

Removes the specified IDataType. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 25:

RemoveAt

Removes the IDataType object at the specified index. (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 26:

ToString

Returns a string that represents the current object. (Inherited from Object.)

DataTypeCollection Class 27:

TryGetType

Tries to get the specified IDataType from the IDataTypeContainer.T.. (Inherited from DataTypeCollection.T..)

Fields

 

Name

Description

DataTypeCollection Class 28:

list

Internal list of data types (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 29:

nameDict

Dictionary (Type Name --> DataType) (Inherited from DataTypeCollection.T..)

DataTypeCollection Class 30:

readOnly

Indicates that the DataTypeCollection.T. is readonly (Inherited from DataTypeCollection.T..)

Reference

TwinCAT.TypeSystem Namespace