VB.NET Use With keyword on existing object?
Posted
by ropstah
on Stack Overflow
See other posts from Stack Overflow
or by ropstah
Published on 2010-03-24T22:46:48Z
Indexed on
2010/03/24
22:53 UTC
Read the original article
Hit count: 253
Is it somehow possible to use the 'With' keyword on an existing object?
I would like to do the following using LINQ to objects and can't seem to find a way:
From m as Product in Me _
Select m With {.Match = m.Name.IndexOf(query)} _
Where m.Name.IndexOf(query) > 0
© Stack Overflow or respective owner