Initializes a new instance of the RequestForm class from the specified XML element.

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

Syntax

C#
public RequestForm(
	XmlElement element
)

Parameters

element
Type: System.Xml..::..XmlElement
The XML 'field' element to initialize the instance with.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe element parameter is null.
System..::..ArgumentExceptionThe specified XML element is not a valid data-form element of type 'form'.

See Also