WwwFormUrlDecoderEntry
WwwFormUrlDecoderEntry
WwwFormUrlDecoderEntry
WwwFormUrlDecoderEntry
Class
Definition
Represents a name-value pair in a URL query string. Use the IWwwFormUrlDecoderEntry interface instead; see Remarks.
public : sealed class WwwFormUrlDecoderEntry : IWwwFormUrlDecoderEntrypublic sealed class WwwFormUrlDecoderEntry : IWwwFormUrlDecoderEntryPublic NotInheritable Class WwwFormUrlDecoderEntry Implements IWwwFormUrlDecoderEntry// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
The WwwFormUrlDecoder class represents a Uniform Resource Identifier (URI) query string as a sequence of name-value pairs. Each name-value pair is represented by a WwwFormUrlDecoderEntry object. The collection type of WwwFormUrlDecoder is IWwwFormUrlDecoderEntry, and WwwFormUrlDecoderEntry provides the practical implementation (as an implementation detail).
Use IWwwFormUrlDecoderEntry the interface rather than WwwFormUrlDecoder the class when possible. The WwwFormUrlDecoderEntry class isn't present as a runtime class for all languages or for all platforms. C# and Visual Basic code can use the WwwFormUrlDecoder class, but can't use WwwFormUrlDecoderEntry. Windows Phone for all languages, all versions can't use WwwFormUrlDecoderEntry. In all Windows Runtime APIs that reference the entries, they are passed as objects implementing the IWwwFormUrlDecoderEntry interface, so you shouldn't need to recast to WwwFormUrlDecoderEntry for any scenario.
Properties
Name Name Name Name
Represents the name of a parameter in a URL query string. Use the IWwwFormUrlDecoderEntry interface version (IWwwFormUrlDecoderEntry.Name ) instead; see Remarks.
public : PlatForm::String Name { get; }public string Name { get; }Public ReadOnly Property Name As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The name of a query string parameter. The Value property represents the corresponding value.
Value Value Value Value
Represents a named value in a URL query string. Use the IWwwFormUrlDecoderEntry interface version (IWwwFormUrlDecoderEntry.Value ) instead; see Remarks.
public : PlatForm::String Value { get; }public string Value { get; }Public ReadOnly Property Value As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The value of a query parameter that corresponds with the Name property.