Initializes a new instance of the Option class.

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

Syntax

C#
public Option(
	string value,
	string label = null
)

Parameters

value
Type: System..::..String
The value of the option field.
label (Optional)
Type: System..::..String
A human-readable name for the option.

Exceptions

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

See Also