MessageProperties.ICollection<KeyValuePair<String, Object>>.Add Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Adds an element with the specified name and property into the MessageProperties. This method cannot be inherited.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- pair
- Type: System.Collections.Generic.KeyValuePair<String, Object>
A key/value pair that contains the name and value of the element to add.
Implements
ICollection<T>.Add(T)
Show: