







![]() ![]() |
C# Webserver |
FormValidator..::.Digits Method (String, Boolean, String) |
FormValidator Class See Also Send Feedback |
Check if a value is digits only
Namespace:
HttpServer.Helpers
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public string Digits( string name, bool required, string extraAllowedCharacters ) |
Visual Basic (Declaration) |
---|
Public Function Digits ( _ name As String, _ required As Boolean, _ extraAllowedCharacters As String _ ) As String |
Visual C++ |
---|
public: String^ Digits( String^ name, bool required, String^ extraAllowedCharacters ) |
Parameters
- name
- Type: System..::.String
Field name.
- required
- Type: System..::.Boolean
true if field is required (may not be empty)
- extraAllowedCharacters
- Type: System..::.String
extra characters that is allowed.