Creates a name-value element as the last child of the Collection element of the message collection.

C# | Visual Basic | Visual C++ | F# |

The 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.