I have a combined PIPoint-Filter for Tag-Names and specific Tag-Types.
The filter looks like this:
(tag:BK.* AND pointtype:Int16) OR
(tag:BK.* AND pointtype:Int32) OR
(tag:BK.* AND pointtype:Float16) OR
(tag:BK.* AND pointtype:Float32)OR
(tag:BK.* AND pointtype:Float64)
and it works well.
Now I have to filter the result-list of that query by another Name-Filter and I thought, that a where-operation on the resulting PIPointList like Nicola Gargano suggested in his post from 14.03.2016 would be a good idea.
My problem is, that I can't find any help on the syntax of the PIPointList.where(...) Statement.
Can anyone tell me, where I can find help on that topic?
PIPointList.Where() is a standard LINQ query, not an AFSDK specific method. MSDN library has some basic information on this method. The predicate is a lambda expression, so if you were filtering on another name filter, it might look a little bit like the following example: