FormDataCollection Class

 

Represent the collection of form data.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.Formatting.FormDataCollection

Syntax

[DefaultMemberAttribute("Item")]
public class FormDataCollection : IEnumerable<KeyValuePair<string, string>>, 
    IEnumerable
[DefaultMemberAttribute("Item")]
public ref class FormDataCollection : IEnumerable<KeyValuePair<String^, String^>>, 
    IEnumerable
[<DefaultMemberAttribute("Item")>]
type FormDataCollection = 
    class
        interface IEnumerable<KeyValuePair<string, string>>
        interface IEnumerable
    end
<DefaultMemberAttribute("Item")>
Public Class FormDataCollection
    Implements IEnumerable(Of KeyValuePair(Of String, String)), IEnumerable

Constructors

Name Description
System_CAPS_pubmethod FormDataCollection(IEnumerable<KeyValuePair<String, String>>)

Initializes a new instance of FormDataCollection class.

System_CAPS_pubmethod FormDataCollection(String)

Initializes a new instance of FormDataCollection class.

System_CAPS_pubmethod FormDataCollection(Uri)

Initializes a new instance of FormDataCollection class.

Properties

Name Description
System_CAPS_pubproperty Item[String]

Gets values associated with a given key. If there are multiple values, they're concatenated.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod Get(String)

Gets the collection of form data.

System_CAPS_pubmethod GetEnumerator()

Gets an enumerable that iterates through the collection.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValues(String)

Gets the values of the collection of form data.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ReadAsNameValueCollection()

Reads the collection of form data as a collection of name value.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

Gets an enumerable that iterates through the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Net.Http.Formatting Namespace

Return to top