[This is preliminary documentation and is subject to change.]

Converts a NameValueCollection to an ILookup.

Namespace: Simple.Web.HelpersSimple.Web.HelpersSimple::Web::Helpers
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static ILookup<stringstring> ToLookup(

this NameValueCollection nameValueCollection

)

VB

Public Shared Function ToLookup( _

nameValueCollection As NameValueCollection _

) As ILookup(Of StringString)

C++

public:

static ILookup<String^, String^>^ ToLookup(

NameValueCollection^ nameValueCollection

)

Parameters

Return Value

Type: System.Linq.ILookup<string, string>System.Linq.ILookup(Of String, String)System.Linq::ILookup<String^, String^>
An ILookup representation of the NameValueCollection.

See Also

NameValueCollectionExNameValueCollectionExNameValueCollectionEx Class
Simple.Web.HelpersSimple.Web.HelpersSimple::Web::Helpers Namespace