SymbolCollection.T. Class

Interface represents a collection of ISymbol objects.

Inheritance Hierarchy

System.Object
  TwinCAT.TypeSystem.Generic.InstanceCollection.T.
    TwinCAT.TypeSystem.Generic.SymbolCollection.T.
      TwinCAT.TypeSystem.SymbolCollection
Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

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

VB

Public Class SymbolCollection(Of T As {Class, ISymbol})
    Inherits InstanceCollection(Of T)
    Implements ISymbolCollection(Of T), IInstanceCollection(Of T), 
    IList(Of T), ICollection(Of T), IEnumerable(Of T), 
    IEnumerable

Type Parameters

T

The SymbolCollection.T. type exposes the following members.

Properties

 

Name

Description

SymbolCollection.T. Class 1:

Count

Gets the collection count. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 2:

IsReadOnly

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

SymbolCollection.T. Class 3:

Item.Int32.

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

SymbolCollection.T. Class 4:

Item.String.

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

SymbolCollection.T. Class 5:

Mode

Gets the InstanceCollectionMode. (Inherited from InstanceCollection.T..)

Methods

 

Name

Description

SymbolCollection.T. Class 6:

Add

Adds the specified item. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 7:

AddRange

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

SymbolCollection.T. Class 8:

AsReadOnly

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

SymbolCollection.T. Class 9:

Clear

Clears this instance. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 10:

Clone

Clones this instance.

SymbolCollection.T. Class 11:

Contains(String)

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

SymbolCollection.T. Class 12:

Contains(T)

Determines whether this collection contains the specified IInstance (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 13:

ContainsName

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

SymbolCollection.T. Class 14:

CopyTo

Copies this InstanceCollection.T. to the specified array. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 15:

Equals

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

SymbolCollection.T. Class 16:

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.T. Class 17:

GetEnumerator

Gets the enumerator. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 18:

GetHashCode

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

SymbolCollection.T. Class 19:

GetInstance

Gets the IInstanceby instance path. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 20:

GetInstanceByName

Gets the name of the instance by. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 21:

GetType

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

SymbolCollection.T. Class 22:

IndexOf

Determines the index of the specified IInstance. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 23:

Insert

Inserts the specified IInstance at the specified index. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 24:

MemberwiseClone

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

SymbolCollection.T. Class 25:

Remove

Removes the specified item. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 26:

RemoveAt

Removes the IInstance at the specified index. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 27:

ToString

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

SymbolCollection.T. Class 28:

TryGetInstance

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

SymbolCollection.T. Class 29:

TryGetInstanceByName

Tries to get Instnaces by name. (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 30:

TryGetInstances

Try to get instances with predicate function

Fields

 

Name

Description

SymbolCollection.T. Class 31:

_list

The _list (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 32:

_pathDict

The _path dictionary (Inherited from InstanceCollection.T..)

SymbolCollection.T. Class 33:

mode

The mode this InstanceCollection.T. is working in. (Inherited from InstanceCollection.T..)

Reference

TwinCAT.TypeSystem.Generic Namespace