MessageProperties::ICollection<KeyValuePair<String^, Object^>>::Remove Method (KeyValuePair<String^, Object^>)
Removes the element with the specified name from the MessageProperties.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
private: virtual bool Remove( KeyValuePair<String^, Object^> pair ) sealed = ICollection<KeyValuePair<String^, Object^>>::Remove
Parameters
- pair
-
Type:
System.Collections.Generic::KeyValuePair<String^, Object^>
A key/value pair that contains the name and value of the element to be removed.
Return Value
Type: System::Booleantrue if the MessageProperties contains an element with the specified name and value in the pair parameter and can be removed; otherwise, false.
Implements
ICollection<T>::Remove(T)
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
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
Show: