Share via


FormDataCollection Class

Definition

Represent the form data.

  • This has 100% fidelity (including ordering, which is important for deserializing ordered array).
  • using interfaces allows us to optimize the implementation. E.g., we can avoid eagerly string-splitting a 10gb file.
  • This also provides a convenient place to put extension methods.
public class FormDataCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>
type FormDataCollection = class
    interface seq<KeyValuePair<string, string>>
    interface IEnumerable
Public Class FormDataCollection
Implements IEnumerable(Of KeyValuePair(Of String, String))
Inheritance
FormDataCollection
Implements

Constructors

FormDataCollection(String)

Initialize a form collection from a URL encoded query string. Any leading question mark (?) will be considered part of the query string and treated as any other value.

Methods

GetEnumerator()

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Extension Methods

GetJQueryNameValuePairs(FormDataCollection)

Applies to