String Method

HttpServer.dll

Validate a string parameter in the form

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

Syntax

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

Parameters

name
Type: System..::.String
Form parameter name.
value
Type: System..::.String
value to validate as string.
required
Type: System..::.Boolean
field may not be empty or null if true.

Return Value

vaue if valid; otherwise string.Empty

See Also