DataSource.NET
AddField Method (fieldName, value)
NamespacesCaplin.DataSource.Messaging.PermissionIPermissionMessageAddField(String, String)
Adds the given field with the given value.
Declaration Syntax
C#Visual BasicVisual C++
void AddField(
	string fieldName,
	string value
)
Sub AddField ( _
	fieldName As String, _
	value As String _
)
void AddField(
	String^ fieldName, 
	String^ value
)
Parameters
fieldName (String)
Name of the field.
value (String)
The value of the field.
Remarks

Calling AddField more than once with the same fieldName does not update the field; it adds multiple instances of the field with this name to the permission message. To update the field use the [] operator.

Exceptions
ExceptionCondition
UnknownFieldExceptionRaised when the fieldName is not defined in the DataSource.NET configuration.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 4.5.22.1 (4.5.22.1)