ISymbolCollectionT Interface

Interface ISymbolCollection


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

Syntax

C#

public interface ISymbolCollection<T> : IInstanceCollection<T>, 
    IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
where T : class, ISymbol

Type Parameters

T

The ISymbolCollectionT 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 IInstance with the specified instance path.
(Inherited from IInstanceCollectionT)

Mode

Gets the InstanceCollectionMode.
(Inherited from IInstanceCollectionT)

Methods

 

Name

Description

Add

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

Clear

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

Contains(T)

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

Contains(String)

Determines whether this collection contains an instance with the specified instance path.
(Inherited from IInstanceCollectionT)

ContainsName

Determines whether this collection contains an instance with the specified instance name.
(Inherited from IInstanceCollectionT)

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)

GetInstance

Gets the IInstanceby instance path.
(Inherited from IInstanceCollectionT)

GetInstanceByName

Gets the IInstance by instance name.
(Inherited from IInstanceCollectionT)

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)

TryGetInstance

Tries to get the specified instance.
(Inherited from IInstanceCollectionT)

TryGetInstanceByName

Tries to get the specified instance by name.
(Inherited from IInstanceCollectionT)

Reference

TwinCAT.TypeSystem Namespace IInstanceCollectionT

Beckhoff Automation GmbH & Co. KG 2001-2026