SymbolCollection.T..TryGetInstances Method
Try to get instances with predicate function
Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public bool TryGetInstances(
Func<T, bool> predicate,
bool recurse,
out IList<T> instances
)
VB
Public Function TryGetInstances (
predicate As Func(Of T, Boolean),
recurse As Boolean,
<OutAttribute> ByRef instances As IList(Of T)
) As Boolean
Parameters
predicate |
Type: System.Func.T, Boolean. |
recurse |
Type: System.Boolean |
instances |
Type: System.Collections.Generic.IList.T.. |
Return Value
Type: Boolean
true if XXXX, false otherwise.