SymbolCollection Class

Interface represents a collection of ISymbol objects.

Inheritance Hierarchy

SystemObject
  TwinCAT.TypeSystem.GenericInstanceCollectionISymbol
    TwinCAT.TypeSystem.GenericSymbolCollectionISymbol
      TwinCAT.TypeSystemSymbolCollection

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

Syntax

C#

public class SymbolCollection : SymbolCollection<ISymbol>, 
    ISymbolCollection, ISymbolCollection<ISymbol>, IInstanceCollection<ISymbol>, 
    IList<ISymbol>, ICollection<ISymbol>, IEnumerable<ISymbol>, 
    IEnumerable

The SymbolCollection type exposes the following members.

Properties

 

Name

Description

SymbolCollection Class 1:

Count

Gets the collection count.
(Inherited from InstanceCollectionT)

SymbolCollection Class 2:

Empty

Returns an Empty Collection.

SymbolCollection Class 3:

InnerList

Gets the LIst of instances.
(Inherited from InstanceCollectionT)

SymbolCollection Class 4:

InnerPathDict

The Path dictionary
(Inherited from InstanceCollectionT)

SymbolCollection Class 5:

IsReadOnly

Gets a value indicating whether this instance is read only.
(Inherited from InstanceCollectionT)

SymbolCollection Class 6:

ItemInt32

Gets or sets the IInstance at the specified index.
(Inherited from InstanceCollectionT)

SymbolCollection Class 7:

ItemString

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

SymbolCollection Class 8:

Mode

The mode this InstanceCollectionT is working in.
(Inherited from InstanceCollectionT)

Methods

 

Name

Description

SymbolCollection Class 9:

Add

Adds the specified item.
(Inherited from InstanceCollectionT)

SymbolCollection Class 10:

AddRange

Adds the specified items to this collection.
(Inherited from InstanceCollectionT)

SymbolCollection Class 11:

AsReadOnly

Returns a Read only version of this collection (shallow copy).

SymbolCollection Class 12:

Clear

Clears this instance.
(Inherited from InstanceCollectionT)

SymbolCollection Class 13:

Clone

Clones this instance.

SymbolCollection Class 14:

Contains(T)

Determines whether this collection contains the specified IInstance
(Inherited from InstanceCollectionT)

SymbolCollection Class 15:

Contains(String)

Determines whether this collection contains an IInstance with the specified InstanceName / InstancePath
(Inherited from InstanceCollectionT)

SymbolCollection Class 16:

ContainsName

Determines whether the specified instance name contains name.
(Inherited from InstanceCollectionT)

SymbolCollection Class 17:

CopyTo

Copies this InstanceCollectionT to the specified array.
(Inherited from InstanceCollectionT)

SymbolCollection Class 18:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

SymbolCollection Class 19:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

SymbolCollection Class 20:

GetEnumerator

Gets the enumerator.
(Inherited from InstanceCollectionT)

SymbolCollection Class 21:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

SymbolCollection Class 22:

GetInstance

Gets the IInstanceby instance path.
(Inherited from InstanceCollectionT)

SymbolCollection Class 23:

GetInstanceByName

Gets the name of the instance by.
(Inherited from InstanceCollectionT)

SymbolCollection Class 24:

GetType

Gets the Type of the current instance.
(Inherited from Object)

SymbolCollection Class 25:

IndexOf

Determines the index of the specified IInstance.
(Inherited from InstanceCollectionT)

SymbolCollection Class 26:

Insert

Inserts the specified IInstance at the specified index.
(Inherited from InstanceCollectionT)

SymbolCollection Class 27:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

SymbolCollection Class 28:

Remove

Removes the specified item.
(Inherited from InstanceCollectionT)

SymbolCollection Class 29:

RemoveAt

Removes the IInstance at the specified index.
(Inherited from InstanceCollectionT)

SymbolCollection Class 30:

ToString

Returns a string that represents the current object.
(Inherited from Object)

SymbolCollection Class 31:

TryGetInstance

Tries to get the IInstance. of the specified path.
(Inherited from InstanceCollectionT)

SymbolCollection Class 32:

TryGetInstanceByName

Tries to get Instances by name.
(Inherited from InstanceCollectionT)

SymbolCollection Class 33:

TryGetInstances

Try to get instances with predicate function
(Inherited from SymbolCollectionT)

Extension Methods

 

Name

Description

WhereAttributeValue

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

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026