CheckBox Method (String, Object, Boolean, String[])

HttpServer.dll

Creates a checkbox.

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

Syntax

C#
public static string CheckBox(
	string name,
	Object value,
	bool isChecked,
	params string[] htmlAttributes
)
Visual Basic (Declaration)
Public Shared Function CheckBox ( _
	name As String, _
	value As Object, _
	isChecked As Boolean, _
	ParamArray htmlAttributes As String() _
) As String
Visual C++
public:
static String^ CheckBox(
	String^ name, 
	Object^ value, 
	bool isChecked, 
	... array<String^>^ htmlAttributes
)

Parameters

name
Type: System..::.String
element name
value
Type: System..::.Object
element value
isChecked
Type: System..::.Boolean
true if checkbox is checked (selected)
htmlAttributes
Type: array< System..::.String >[]()[]
a list with additional attributes (name, value, name, value).

Return Value

a generated radio button

See Also