Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,174 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to use the LIKE to match the file extension name in the LINQ, e.g ~. .
The IncludedExts is a List Type.
But the line below is not right.
.Where((Function(n) IncludedExts.Any(AddressOf n.Name Like))
The line below is OK
.Where((Function(n) IncludedExts.Any(AddressOf n.Name Contains))
How to use the LIKE? thank you.
Try this:
ā.Where(Function(n) IncludedExts.Any(Function(x) n.Name Like x))