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.
| Constructor | Description |
|---|---|
| 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.
| Method | Description |
|---|---|
| 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.
| Property | Access type | Description |
|---|---|---|
|
Count [C#, VB] | Read-only | Gets the number of elements actually contained in the collection. |
|
Item [C#, VB] | Read-only | Gets or sets the element at the specified index. |
|
Size [C++, JavaScript] | Read-only | Gets 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 |
|
|
Metadata |
|
See also
Build date: 2/25/2013
