SymbolIterator(IEnumerableISymbol, Boolean, FuncISymbol, Boolean) Constructor

Initializes a new instance of the SymbolIterator class.


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

Syntax

C#

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

Parameters

symbols  IEnumerableISymbol

The symbol collection.

recurse  Boolean

if set to true, the iterator works recursively over all subsymbols.

selector  FuncISymbol, 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.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026