Freigeben über


FormDataCollection Class

Represent the collection of form data.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class FormDataCollection _
    Implements IEnumerable(Of KeyValuePair(Of String, String)),  _
    IEnumerable
'Usage
Dim instance As FormDataCollection
public class FormDataCollection : IEnumerable<KeyValuePair<string, string>>, 
    IEnumerable
public ref class FormDataCollection : IEnumerable<KeyValuePair<String^, String^>>, 
    IEnumerable
type FormDataCollection =  
    class 
        interface IEnumerable<KeyValuePair<string, string>>
        interface IEnumerable 
    end
public class FormDataCollection implements IEnumerable<KeyValuePair<String, String>>, IEnumerable

The FormDataCollection type exposes the following members.

Constructors

  Name Description
Public method FormDataCollection(IEnumerable<KeyValuePair<String, String>>) Initializes a new instance of FormDataCollection class.
Public method FormDataCollection(String) Initializes a new instance of FormDataCollection class.
Public method FormDataCollection(Uri) Initializes a new instance of FormDataCollection class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Get Gets the collection of form data.
Public method GetEnumerator Gets an enumerable that iterates through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValues Gets the values of the collection of form data.
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadAsNameValueCollection Reads the collection of form data as a collection of name value.
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method ReadAs(Type) Overloaded. Reads the collection extensions with specified type. (Defined by FormDataCollectionExtensions.)
Public Extension Method ReadAs(Type, String, IRequiredMemberSelector, IFormatterLogger) Overloaded. Reads the collection extensions with specified type and model name. (Defined by FormDataCollectionExtensions.)
Public Extension Method ReadAs<T>() Overloaded. Reads the collection extensions with specified type. (Defined by FormDataCollectionExtensions.)
Public Extension Method ReadAs<T>(String, IRequiredMemberSelector, IFormatterLogger) Overloaded. Reads the collection extensions with specified type. (Defined by FormDataCollectionExtensions.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets an enumerable that iterates through the collection.

Top

Remarks

No content here will be updated; please do not add material here.

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

Reference

System.Net.Http.Formatting Namespace