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

Initializes a new instance of the SymbolIterator.T. class.

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

Syntax

C#

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

Parameters

symbols

Type: TwinCAT.TypeSystem.IInstanceCollection.T.
The root symbols.

selector

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

Exceptions

Exception

Condition

NotSupportedException

Reference

SymbolIterator.T. Class

SymbolIterator.T. Overload

TwinCAT.TypeSystem.Generic Namespace