Les på engelsk

Del via


MessageProperties.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Add Method 

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

C#
void ICollection<KeyValuePair<string,Object>>.Add (
    KeyValuePair<string,Object> pair
)

Parameters

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

Platforms

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

MessageProperties Class
MessageProperties Members
System.ServiceModel.Channels Namespace