WwwFormUrlDecoderEntry Class

Definition

Represents a name-value pair in a URL query string. Use the IWwwFormUrlDecoderEntry interface instead; see Remarks.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WwwFormUrlDecoderEntry : IWwwFormUrlDecoderEntry
Inheritance
Object WwwFormUrlDecoderEntry
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

Represents the name of a parameter in a URL query string. Use the IWwwFormUrlDecoderEntry interface version (IWwwFormUrlDecoderEntry.Name) instead; see Remarks.

Value

Represents a named value in a URL query string. Use the IWwwFormUrlDecoderEntry interface version (IWwwFormUrlDecoderEntry.Value) instead; see Remarks.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also