MessageProperties::ICollection<KeyValuePair<String^, Object^>>::Add Method (KeyValuePair<String^, Object^>)

 

Adds an element with the specified name and property into the MessageProperties.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private:
virtual void Add(
	KeyValuePair<String^, Object^> pair
) sealed = ICollection<KeyValuePair<String^, Object^>>::Add

Parameters

pair
Type: System.Collections.Generic::KeyValuePair<String^, Object^>

A key/value pair that contains the name and value of the element to add.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: