Appearance
Add Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
| Name | Description |
|---|---|
void Add(string key, FilePost file) | Adds a file to the collection under the specified key. Overwrites any existing value for that key. |
void Add(string key, string value) | Adds a string value to the collection under the specified key. If the key already exists, the value is appended to the existing list. |
void Add(string key, FilePost file)
csharp
void Add(string key, FilePost file)Adds a file to the collection under the specified key. Overwrites any existing value for that key.
Parameters
| Name | Description |
|---|---|
file | The file to add to the collection. |
key | The form field name. |
void Add(string key, string value)
csharp
void Add(string key, string value)Adds a string value to the collection under the specified key. If the key already exists, the value is appended to the existing list.
Parameters
| Name | Description |
|---|---|
key | The form field name. |
value | The string value to add. |