Creates a name-value element as the last child of the Collection element of the message collection.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
public NBElement CreateNameValue(
string name,
Object value
)
public NBElement CreateNameValue(
string name,
Object value
)
Public Function CreateNameValue (
name As String,
value As Object
) As NBElement
Public Function CreateNameValue (
name As String,
value As Object
) As NBElement
public:
NBElement^ CreateNameValue(
String^ name,
Object^ value
)
public:
NBElement^ CreateNameValue(
String^ name,
Object^ value
)
member CreateNameValue :
name : string *
value : Object -> NBElement
member CreateNameValue :
name : string *
value : Object -> NBElement
Parameters
- name
- Type:
System String
The name of the element to be created.
- value
- Type:
System Object
The value of the element to be created.
Return Value
Type:
NBElementThe created name value element.
The element will be named using the String passed as the name argument.
The value of the element will be the value argument to this method.