WwwFormUrlDecoderEntry WwwFormUrlDecoderEntry WwwFormUrlDecoderEntry WwwFormUrlDecoderEntry Class

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

Syntax

Declaration

public sealed class WwwFormUrlDecoderEntrypublic sealed class WwwFormUrlDecoderEntryPublic NotInheritable Class WwwFormUrlDecoderEntry

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 summary

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

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

Properties

  • Name
    Name
    Name
    Name

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

    public string Name { get; }public string Name { get; }Public ReadOnly Property Name As string

    Property Value

    • 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 (Value ) instead; see Remarks.

    public string Value { get; }public string Value { get; }Public ReadOnly Property Value As string

    Property Value

    • string
      string
      string
      string

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

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Foundation.dll