SymbolCollectionT Class

Interface represents a collection of ISymbol objects.

Inheritance Hierarchy

SystemObject
  TwinCAT.TypeSystem.GenericInstanceCollectionT
    TwinCAT.TypeSystem.GenericSymbolCollectionT
      TwinCAT.TypeSystemSymbolCollection

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

Syntax

C#

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

Type Parameters

T

The SymbolCollectionT type exposes the following members.

Properties

 

Name

Description

Count

Gets the collection count.
(Inherited from InstanceCollectionT)

Empty

Creates an Empty SymbolCollectionT

InnerList

Gets the LIst of instances.
(Inherited from InstanceCollectionT)

InnerPathDict

The Path dictionary
(Inherited from InstanceCollectionT)

IsReadOnly

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

ItemInt32

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

ItemString

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

Mode

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

Methods

 

Name

Description

Add

Adds the specified item.
(Inherited from InstanceCollectionT)

AddRange

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

AsReadOnly

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

Clear

Clears this instance.
(Inherited from InstanceCollectionT)

Clone

Clones this instance.

Contains(T)

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

Contains(String)

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

ContainsName

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

CopyTo

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

Equals

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

Finalize

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

GetEnumerator

Gets the enumerator.
(Inherited from InstanceCollectionT)

GetHashCode

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

GetInstance

Gets the IInstanceby instance path.
(Inherited from InstanceCollectionT)

GetInstanceByName

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

GetType

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

IndexOf

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

Insert

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

MemberwiseClone

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

Remove

Removes the specified item.
(Inherited from InstanceCollectionT)

RemoveAt

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

ToString

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

TryGetInstance

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

TryGetInstanceByName

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

TryGetInstances

Try to get instances with predicate function

Reference

TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026