Represents POST data parameters if the Content-Type is application/x-www-form-urlencoded.
More...
Inherits DotNetBrowser.PostData.
Inherited by DotNetBrowser.MultipartFormData.
|
| FormData () |
| Constructs a new FormData instance. More...
|
|
| FormData (IDictionary< string, IList< string >> keyValuePairs) |
| Constructs a new FormData instance with specified parameters. More...
|
|
ICollection< string > | GetPairKeys () |
| Returns all keys from the key-value pair collection of the POST request. More...
|
|
IList< string > | GetPairValues (string key) |
| Returns a list of values from the key-value pair collection associated with specified key. More...
|
|
IList< string > | SetPair (string key, params string[] values) |
| Sets key-value pair to the key-value pair collection of the POST request. If such a key already exist, it will be replaced. More...
|
|
IList< string > | RemovePair (string key) |
| Removes key-value pair with associated key from the key-value pair collection of the POST request. More...
|
|
void | RemoveAllPairs () |
| Removes all pairs from the key-value pair collection of the POST request. More...
|
|
override int | GetHashCode () |
| Serves as a hash function for a particular type. More...
|
|
override bool | Equals (object obj) |
| Determines whether the specified FormData is equal to the current FormData. More...
|
|
Represents POST data parameters if the Content-Type is application/x-www-form-urlencoded.
DotNetBrowser.FormData.FormData |
( |
| ) |
|
DotNetBrowser.FormData.FormData |
( |
IDictionary< string, IList< string >> |
keyValuePairs | ) |
|
Constructs a new FormData instance with specified parameters.
- Parameters
-
keyValuePairs | All keys from the key-value pair collection of the POST request. |
override bool DotNetBrowser.FormData.Equals |
( |
object |
obj | ) |
|
Determines whether the specified FormData is equal to the current FormData.
- Parameters
-
obj | The object to compare with the current FormData object. |
- Returns
- true if the specified object is equal to the current FormData object; otherwise, false.
override int DotNetBrowser.FormData.GetHashCode |
( |
| ) |
|
Serves as a hash function for a particular type.
- Returns
- A hash code for the current FormData.
ICollection<string> DotNetBrowser.FormData.GetPairKeys |
( |
| ) |
|
Returns all keys from the key-value pair collection of the POST request.
- Returns
- all keys from the key-value pair collection of the POST request.
IList<string> DotNetBrowser.FormData.GetPairValues |
( |
string |
key | ) |
|
Returns a list of values from the key-value pair collection associated with specified key.
- Parameters
-
- Returns
- a list of values from the key-value pair collection associated with specified key.
void DotNetBrowser.FormData.RemoveAllPairs |
( |
| ) |
|
Removes all pairs from the key-value pair collection of the POST request.
IList<string> DotNetBrowser.FormData.RemovePair |
( |
string |
key | ) |
|
Removes key-value pair with associated key from the key-value pair collection of the POST request.
- Parameters
-
- Returns
- the list of previous values associated with the key, or null if there was no mapping for key.
IList<string> DotNetBrowser.FormData.SetPair |
( |
string |
key, |
|
|
params string[] |
values |
|
) |
| |
Sets key-value pair to the key-value pair collection of the POST request. If such a key already exist, it will be replaced.
- Parameters
-
key | the key. |
values | the values. |
- Returns
- the previous value associated with key, or null if there was no mapping for key.
Gets content type of POST data.