Initializes a new instance of the ListField class for use in a
requesting dataform.
Namespace: S22.Xmpp.Extensions.DataformsAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public ListMultiField( string name, bool required = false, string label = null, string description = null, IEnumerable<Option> options = null, params string[] values ) |
Parameters
- name
- Type: System..::..String
The name of the field.
- required (Optional)
- Type: System..::..Boolean
Determines whether the field is required or optional.
- label (Optional)
- Type: System..::..String
A human-readable name for the field.
- description (Optional)
- Type: System..::..String
A natural-language description of the field, intended for presentation in a user-agent.
- options (Optional)
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Option>)>)>
An enumerable collection of options to add to the field.
- values
- Type: array<System..::..String>[]()[][]
The default values of the field.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The name parameter is null. |