Helper method to parse the query string in the URI into a NameValueCollection.
Namespace: Microsoft.IdentityModel.Protocols.WSFederation
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim data As Uri
Dim returnValue As NameValueCollection

returnValue = WSFederationMessage.ParseQueryString(data)

Syntax

Visual Basic
Public Shared Function ParseQueryString ( _
		data As Uri _
) As NameValueCollection
C#
public static NameValueCollection ParseQueryString (
		Uri data
)
C++
public:
static NameValueCollection^ ParseQueryString (
		Uri^ data
)
J#
public static NameValueCollection ParseQueryString (
		Uri data
)
JScript
public static function ParseQueryString (
		data : Uri
) : NameValueCollection

Parameters

data

The URI to parse.

Return Value

Query strings as a NameValueCollection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also