Char Method (String, String, Boolean)

HttpServer.dll

Check whether the specified value is an character.

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public char Char(
	string name,
	string value,
	bool required
)
Visual Basic (Declaration)
Public Function Char ( _
	name As String, _
	value As String, _
	required As Boolean _
) As Char
Visual C++
public:
wchar_t Char(
	String^ name, 
	String^ value, 
	bool required
)

Parameters

name
Type: System..::.String
Name of the parameter
value
Type: System..::.String
Parameter value to validate
required
Type: System..::.Boolean
Paramater is required (adds an error if it's not specified)

Return Value

value if parameter is an int; char.MinValue if not.

See Also