Auf Englisch lesen

Freigeben über


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

Removes the element with the specified name from the MessageProperties. This method cannot be inherited.

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

Syntax

C#
bool ICollection<KeyValuePair<string,Object>>.Remove (
    KeyValuePair<string,Object> pair
)

Parameters

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

Return Value

true if the MessageProperties contains an element with the specified name and value in the pairparameter and can be removed; otherwise, false.

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