Initializes a new instance of the FieldList 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 FieldList(
	XmlElement element,
	bool readOnly = false
)

Parameters

element
Type: System.Xml..::..XmlElement
The XML element to initialize this instance from.
readOnly (Optional)
Type: System..::..Boolean
If true, the list of data-fields can not be modified.

Exceptions

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

See Also