







Adds a file to the collection of posted files
Namespace:
HttpServer
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void AddFile( HttpFile file ) |
| Visual Basic (Declaration) |
|---|
Public Sub AddFile ( _ file As HttpFile _ ) |
| Visual C++ |
|---|
public: void AddFile( HttpFile^ file ) |
Parameters
- file
- Type: HttpServer..::.HttpFile
The file to add
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentException | If the file is already added |
| System..::.ArgumentNullException | If file is null |
| System..::.InvalidOperationException | If the instance is HttpForm.EmptyForm which cannot be modified |
