MessageField
Constructor
Visual Basic
Overloads Public SubNew
(
ByVal fieldName As String,
ByVal fieldValue Asvalue_type
)
Overloads Public SubNew
(
ByVal messageField As MessageField,
ByVal fieldValue Asvalue_type
,
ByVal fieldId As UInt16)
C#
publicMessageField
(
string fieldName,
value_type
fieldValue);
publicMessageField
(
string fieldName,
value_type
fieldValue,
ushort fieldId);
Purpose
Create a message field object.
Remarks
Overloading
This method has many overloads. MessageField Constructor Overloads by Category classifies them into two main categories (based on the number of parameters).
Signature |
Description |
|
Overloads with two parameters add fields without identifiers. The first parameter specifies the name of the new field. Fields without identifiers must have non-null names. The second parameter specifies both the type of the field and its data; see also Message.add Homologous Types. |
|
Overloads with three parameters add fields with identifiers. The first parameter specifies the name of the new field. A field with an identifier may have a null name. The second parameter specifies both the type of the field and its data; see also Message.add Homologous Types. The third parameter specifies the field identifier. All field identifiers must be unique within each message. Integers in the range [ |