Re: Confused by the NameValueCollection
From: Bob Powell [MVP] (bob_at__spamkiller_bobpowell.net)
Date: 05/13/04
- Next message: Dan V.: "How do I get rid of that '@' symbol from a string? I am using FileStream.WriteByte"
- Previous message: Thomas: "MouseMove outside windows"
- In reply to: anon: "Re: Confused by the NameValueCollection"
- Next in thread: Chris R. Timmons: "Re: Confused by the NameValueCollection"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 23:07:37 +0200
They are all the real value. The values share a key.
-- Bob Powell [MVP] Visual C#, System.Drawing Image transition effects, automatic persistent configuration and design time mouse operations all in April's issue of Well Formed http://www.bobpowell.net/wellformed.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://royo.is-a-geek.com/siteFeeder/GetFeed.aspx?FeedId=41 "anon" <anon@hotmail.com> wrote in message news:O2WUIfROEHA.3964@TK2MSFTNGP10.phx.gbl... > What if the values have a "comma" in them? How is the comma-separated list > going to know where the next "REAL" value is? > > > > > "Teemu Keiski" <joteke@aspalliance.com> wrote in message > news:eQDbGJOOEHA.2952@TK2MSFTNGP12.phx.gbl... > > Hi, > > > > see the documentaion for NameValueCollection's Add method. It says: > > > > "If the specified key already exists in the target NameValueCollection > > instance, the specified value is added to the existing comma-separated > list > > of values associated with the same key in the target NameValueCollection > > instance." > > > > -- > > Teemu Keiski > > MCP, Microsoft MVP (ASP.NET), AspInsiders member > > ASP.NET Forum Moderator, AspAlliance Columnist > > http://blogs.aspadvice.com/joteke > > > > > > "anon" <anon@hotmail.com> wrote in message > > news:uksCPmMOEHA.892@TK2MSFTNGP09.phx.gbl... > > > I need a little clarity in the NameValueCollection. > > > > > > Within the MSDN .NET 1.1 Framework help is says: > > > > > > "This collection is based on the NameObjectCollectionBase class. > > > However, unlike the > > > NameObjectCollectionBase, this class stores multiple string values > > under > > > a single key." > > > > > > > > > > > > What does this REALLY MEAN? > > > > > > IS THIS CORRECT WAY? > > > EXAMPLE #1 > > > Index Key Value > > > 0 a "alpha" > > > 1 b "beta" > > > 2 c "charlie" > > > 3 c "clifford" > > > > > > > > > OR does it mean > > > EXAMPLE #2 > > > Index Key Value > > > 0 a "alpha" > > > 1 b "beta" > > > 2 c "charlie", "clifford" > > > > > > > > > see how I am confused? > > > > > > > > > > > > > > > > > >
- Next message: Dan V.: "How do I get rid of that '@' symbol from a string? I am using FileStream.WriteByte"
- Previous message: Thomas: "MouseMove outside windows"
- In reply to: anon: "Re: Confused by the NameValueCollection"
- Next in thread: Chris R. Timmons: "Re: Confused by the NameValueCollection"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|