







![]() ![]() |
C# Webserver |
Validator..::.Digits Method (String, String, Boolean) |
Validator 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, string value, bool required ) |
Visual Basic (Declaration) |
---|
Public Function Digits ( _ name As String, _ value As String, _ required As Boolean _ ) As String |
Visual C++ |
---|
public: String^ Digits( String^ name, String^ value, bool required ) |
Parameters
- name
- Type: System..::.String
Field name.
- value
- Type: System..::.String
value to validate
- required
- Type: System..::.Boolean
true if field is required (may not be empty)