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 : IWwwFormUrlDecoderEntry
public sealed class WwwFormUrlDecoderEntry : IWwwFormUrlDecoderEntry
Public NotInheritable Class WwwFormUrlDecoderEntry Implements IWwwFormUrlDecoderEntry
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
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
var string = wwwFormUrlDecoderEntry.name;
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
var string = wwwFormUrlDecoderEntry.value;
Value
Platform::String string string string

The value of a query parameter that corresponds with the Name property.