IDataTypeCollection Interface

Interface IDataTypeCollection Implements the ICollectionT


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public interface IDataTypeCollection : IDataTypeCollection<IDataType>, 
    IList<IDataType>, ICollection<IDataType>, IEnumerable<IDataType>, 
    IEnumerable

The IDataTypeCollection type exposes the following members.

Properties

 

Name

Description

IDataTypeCollection Interface 1:

Count

Gets the number of elements contained in the ICollectionT.
(Inherited from ICollectionIDataType)

IDataTypeCollection Interface 2:

IsReadOnly

Gets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionIDataType)

IDataTypeCollection Interface 3:

ItemInt32

Gets or sets the element at the specified index.
(Inherited from IListIDataType)

IDataTypeCollection Interface 4:

ItemString

Gets the IDataType with the specified name.
(Inherited from IDataTypeCollectionT)

Methods

 

Name

Description

IDataTypeCollection Interface 5:

Add

Adds an item to the ICollectionT.
(Inherited from ICollectionIDataType)

IDataTypeCollection Interface 6:

Clear

Removes all items from the ICollectionT.
(Inherited from ICollectionIDataType)

IDataTypeCollection Interface 7:

Contains

Determines whether the ICollectionT contains a specific value.
(Inherited from ICollectionIDataType)

IDataTypeCollection Interface 8:

ContainsType

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

IDataTypeCollection Interface 9:

CopyTo

Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionIDataType)

IDataTypeCollection Interface 10:

GetEnumerator

Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIDataType)

IDataTypeCollection Interface 11:

IndexOf

Determines the index of a specific item in the IListT.
(Inherited from IListIDataType)

IDataTypeCollection Interface 12:

Insert

Inserts an item to the IListT at the specified index.
(Inherited from IListIDataType)

IDataTypeCollection Interface 13:

Remove

Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionIDataType)

IDataTypeCollection Interface 14:

RemoveAt

Removes the IListT item at the specified index.
(Inherited from IListIDataType)

IDataTypeCollection Interface 15:

TryGetType

Tries to get the specified IDataType from the IDataTypeCollectionT.
(Inherited from IDataTypeCollectionT)

Reference

TwinCAT.TypeSystem Namespace ICollectionT

Beckhoff Automation GmbH & Co. KG 2001-2026