IDataTypeCollectionT Interface

Data Type container interface


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

Syntax

C#

public interface IDataTypeCollection<T> : IList<T>, 
    ICollection<T>, IEnumerable<T>, IEnumerable
where T : class, IDataType

Type Parameters

T

Data Type type.

The IDataTypeCollectionT type exposes the following members.

Properties

 

Name

Description

Count

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

IsReadOnly

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

ItemInt32

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

ItemString

Gets the IDataType with the specified name.

Methods

 

Name

Description

Add

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

Clear

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

Contains

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

ContainsType

Determines whether the container contains the specified IDataType.

CopyTo

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

GetEnumerator

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

IndexOf

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

Insert

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

Remove

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

RemoveAt

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

TryGetType

Tries to get the specified IDataType from the IDataTypeCollectionT.

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026