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 | |
---|---|---|
FormDataCollection(IEnumerable<KeyValuePair<String, String>>) | Initializes a new instance of FormDataCollection class. |
|
FormDataCollection(String) | Initializes a new instance of FormDataCollection class. |
|
FormDataCollection(Uri) | Initializes a new instance of FormDataCollection class. |
Properties
Name | Description | |
---|---|---|
Item[String] | Gets values associated with a given key. If there are multiple values, they're concatenated. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
Get(String) | Gets the collection of form data. |
|
GetEnumerator() | Gets an enumerable that iterates through the collection. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
GetValues(String) | Gets the values of the collection of form data. |
|
MemberwiseClone() | (Inherited from Object.) |
|
ReadAsNameValueCollection() | Reads the collection of form data as a collection of name value. |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
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