Delen via


WwwFormUrlDecoderEntry Class

Definition

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

public ref class WwwFormUrlDecoderEntry sealed : IWwwFormUrlDecoderEntry
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WwwFormUrlDecoderEntry final : IWwwFormUrlDecoderEntry
[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
Public NotInheritable Class WwwFormUrlDecoderEntry
Implements IWwwFormUrlDecoderEntry
Inheritance
Object Platform::Object IInspectable 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

See also