MessageProperties.ICollection<(Of <(KeyValuePair<(Of <(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.

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

Syntax

Private Sub Add ( _
    pair As KeyValuePair(Of String, Object) _
) Implements ICollection(Of KeyValuePair(Of String, Object)).Add
void ICollection<KeyValuePair<string, Object>>.Add(
    KeyValuePair<string, Object> pair
)

Parameters

Implements

ICollection<(Of <(T>)>)..::.Add(T)

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

MessageProperties Class

System.ServiceModel.Channels Namespace