Adds the specified data-field to the end of the list of data-fields.

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

Syntax

C#
public void Add(
	DataField item
)

Parameters

item
Type: S22.Xmpp.Extensions.Dataforms..::..DataField
The data-field to add to the end of the list of data-fields.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe item parameter is null.
System..::..ArgumentExceptionA field with the same name already exists in the list of data-fields.
System..::..NotSupportedExceptionThe instance of the FieldList class is read-only.

See Also