Article View: pl.comp.lang.vbasic
Article #104668ListView i LINQ
From: Maciej Tokarz
Date: Wed, 23 Jun 2010 10:07
Date: Wed, 23 Jun 2010 10:07
15 lines
1190 bytes
1190 bytes
Witam,
W poniższym kodzie podkreśla Text :(. Jest możliwy taki zapis?
Dim listItems = From fileInfo In alarmFolder.GetFiles("*.wav") _
Let s_name = fileInfo.Name _
Order By fileInfo.Name _
Select New ListViewItem() _
{Text = s_name.Substring(0, s_name.Length - 4), _
Tag = fileInfo.FullName}
--
Maciej Tokarz
My-Poi.pl
Technical Details
Message-ID:
<hvsmd3$spj$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail From: Maciej Tokarz <mactok@hotmail.com> Newsgroups: pl.comp.lang.vbasic Subject: ListView i LINQ Date: Wed, 23 Jun 2010 12:07:38 +0200 Organization: http://onet.pl Lines: 15 Message-ID: <hvsmd3$spj$1@news.onet.pl> NNTP-Posting-Host: xdsl-1224.wroclaw.dialog.net.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1277287652 29491 81.168.132.200 (23 Jun 2010 10:07:32 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Wed, 23 Jun 2010 10:07:32 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 X-Antivirus: avast! (VPS 100622-1, 2010-06-22), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit