







Retrieves a file held by by the form
Namespace:
HttpServer
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public HttpFile GetFile( string name ) |
Visual Basic (Declaration) |
---|
Public Function GetFile ( _ name As String _ ) As HttpFile |
Visual C++ |
---|
public: HttpFile^ GetFile( String^ name ) |
Parameters
- name
- Type: System..::.String
The identifier of the file
Return Value
The requested file or null if the file was not found
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | If name is null or empty |
System..::.InvalidOperationException | If the instance is HttpForm.EmptyForm which cannot be modified |