Initializes a new instance of the BooleanField class for use in a submitting dataform.

Namespace: S22.Xmpp.Extensions.Dataforms
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public BooleanField(
	string name,
	bool value
)

Parameters

name
Type: System..::..String
The name of the field.
value
Type: System..::..Boolean
The value of the field.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe name parameter is null.

See Also