SymbolIterator Constructor (IEnumerable.ISymbol., Boolean, 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(
    IEnumerable<ISymbol> symbols,
    bool recurse,
    Func<ISymbol, bool>? selector
)

Parameters

symbols

Type: System.Collections.Generic.IEnumerable.ISymbol.
The symbol collection.

recurse

Type: System.Boolean
if set to true, the iterator works recursively over all subsymbols.

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