Initializes a new instance of the FieldList class from the specified
XML element.
Namespace: S22.Xmpp.Extensions.DataformsAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | The element parameter is null. |
System..::..ArgumentException | The specified element is not a valid XML data-form. |