AddFile Method

HttpServer.dll

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

ExceptionCondition
System..::.ArgumentExceptionIf the file is already added
System..::.ArgumentNullExceptionIf file is null
System..::.InvalidOperationExceptionIf the instance is HttpForm.EmptyForm which cannot be modified

See Also