







|
| C# Webserver |
| FormValidator..::.Integer Method (String, Boolean) |
| FormValidator Class See Also Send Feedback |
Check whether the specified form item is an integer.
Namespace:
HttpServer.Helpers
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public int Integer( string name, bool required ) |
| Visual Basic (Declaration) |
|---|
Public Function Integer ( _ name As String, _ required As Boolean _ ) As Integer |
| Visual C++ |
|---|
public: int Integer( String^ name, bool required ) |
Parameters
- name
- Type: System..::.String
Form parameter to validate
- required
- Type: System..::.Boolean
Paramater is required (adds an error if it's not specified)
