IDataTypeCollection.T. Interface

Data Type container interface

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

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

Type Parameters

T

Data Type type.

The IDataTypeCollection.T. type exposes the following members.

Properties

 

Name

Description

IDataTypeCollection.T. Interface 1:

Count

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

IDataTypeCollection.T. Interface 2:

IsReadOnly

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

IDataTypeCollection.T. Interface 3:

Item.Int32.

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

IDataTypeCollection.T. Interface 4:

Item.String.

Gets the IDataType with the specified name.

Methods

 

Name

Description

IDataTypeCollection.T. Interface 5:

Add

Adds an item to the ICollection.T.. (Inherited from ICollection.T..)

IDataTypeCollection.T. Interface 6:

Clear

Removes all items from the ICollection.T.. (Inherited from ICollection.T..)

IDataTypeCollection.T. Interface 7:

Contains

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

IDataTypeCollection.T. Interface 8:

ContainsType

Determines whether the container contains the specified IDataType.

IDataTypeCollection.T. Interface 9:

CopyTo

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

IDataTypeCollection.T. Interface 10:

GetEnumerator

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

IDataTypeCollection.T. Interface 11:

IndexOf

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

IDataTypeCollection.T. Interface 12:

Insert

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

IDataTypeCollection.T. Interface 13:

Remove

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

IDataTypeCollection.T. Interface 14:

RemoveAt

Removes the IList.T. item at the specified index. (Inherited from IList.T..)

IDataTypeCollection.T. Interface 15:

TryGetType

Tries to get the specified IDataType from the IDataTypeCollection.T..

Reference

TwinCAT.TypeSystem Namespace