SymbolIterator Constructor (IInstanceCollection.ISymbol., Func.ISymbol, Boolean.)

Initializes a new instance of the SymbolIterator class.

Namespace:  TwinCAT.Ads.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public SymbolIterator(
    IInstanceCollection<ISymbol> symbols,
    Func<ISymbol, bool>? selector
)

Parameters

symbols

Type: TwinCAT.TypeSystem.IInstanceCollection.ISymbol.
The symbol collection.

selector

Type: System.Func.ISymbol, Boolean.
Predicate function indicating that symbols are visible for the iteration. The default value null returns all symbols (of the specified mask).

Reference

SymbolIterator Class

SymbolIterator Overload

TwinCAT.Ads.TypeSystem Namespace