ISymbolCollection Interface

Interface ISymbolCollection Implements the IInstanceCollectionT


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

Syntax

C#

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

The ISymbolCollection type exposes the following members.

Properties

 

Name

Description

ISymbolCollection Interface 1:

Count

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

ISymbolCollection Interface 2:

IsReadOnly

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

ISymbolCollection Interface 3:

ItemInt32

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

ISymbolCollection Interface 4:

ItemString

Gets the IInstance with the specified instance path.
(Inherited from IInstanceCollectionT)

ISymbolCollection Interface 5:

Mode

Gets the InstanceCollectionMode.
(Inherited from IInstanceCollectionT)

Methods

 

Name

Description

ISymbolCollection Interface 6:

Add

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

ISymbolCollection Interface 7:

Clear

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

ISymbolCollection Interface 8:

Contains(T)

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

ISymbolCollection Interface 9:

Contains(String)

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

ISymbolCollection Interface 10:

ContainsName

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

ISymbolCollection Interface 11:

CopyTo

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

ISymbolCollection Interface 12:

GetEnumerator

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

ISymbolCollection Interface 13:

GetInstance

Gets the IInstanceby instance path.
(Inherited from IInstanceCollectionT)

ISymbolCollection Interface 14:

GetInstanceByName

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

ISymbolCollection Interface 15:

IndexOf

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

ISymbolCollection Interface 16:

Insert

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

ISymbolCollection Interface 17:

Remove

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

ISymbolCollection Interface 18:

RemoveAt

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

ISymbolCollection Interface 19:

TryGetInstance

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

ISymbolCollection Interface 20:

TryGetInstanceByName

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

Extension Methods

 

Name

Description

WhereAttributeValue

Filters the symbols collection for symbols with a specific Attribute value.
(Defined by SymbolCollectionExtension)

Reference

TwinCAT.TypeSystem Namespace IInstanceCollectionT

Beckhoff Automation GmbH & Co. KG 2001-2026