1 out of 2 rated this helpful - Rate this topic

WwwFormUrlDecoder class

Parses a URL query string.

Syntax


var wwwFormUrlDecoder = new Windows.Foundation.WwwFormUrlDecoder();

Attributes

ActivatableAttribute(Windows.Foundation.IWwwFormUrlDecoderRuntimeClassFactory, NTDDI_WIN8)
MarshalingBehaviorAttribute(Agile)
MuseAttribute()
VersionAttribute(NTDDI_WIN8)

Members

The WwwFormUrlDecoder class has these types of members:

Constructors

The WwwFormUrlDecoder class has these constructors.

ConstructorDescription
WwwFormUrlDecoder Creates and initializes a new instance of the WwwFormUrlDecoder class.

 

Methods

The WwwFormUrlDecoder class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
First [C++, JavaScript]Gets an iterator that represents the first name-value pair in the current URL query string.
GetAt [C++, JavaScript]Gets the name-value pair at the specified index in the current URL query string.
GetEnumerator [C#, VB]Returns an enumerator that iterates through a collection.
GetFirstValueByName Gets the first name-value pair that has the specified name in the current URL query string.
GetMany [C++, JavaScript]Gets name-value pairs starting at the specified index in the current URL query string.
IndexOf [C++, JavaScript]Gets a value indicating whether the specified IWwwFormUrlDecoderEntry is at the specified index in the current URL query string.

 

Properties

The WwwFormUrlDecoder class has these properties.

PropertyAccess typeDescription

Count [C#, VB]

Read-onlyGets the number of elements actually contained in the collection.

Item [C#, VB]

Read-onlyGets or sets the element at the specified index.

Size [C++, JavaScript]

Read-onlyGets the number of the name-value pairs in the current URL query string.

 

Remarks

Use the WwwFormUrlDecoder class to break a query string into name-value pairs, based on the number and placement of "&" symbols. Each name-value pair is represented by an IWwwFormUrlDecoderEntry object.

Collection member lists

For JavaScript, WwwFormUrlDecoder has the members shown in the member lists. In addition, WwwFormUrlDecoder supports a length property, members of Array.prototype, and using an index to access items.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

IWwwFormUrlDecoderEntry

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.