MessageProperties.Remove Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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
Public Function Remove ( _
name As String _
) As Boolean
public bool Remove(
string name
)
Parameters
- name
Type: System..::.String
The name of the element to remove.
Return Value
Type: System..::.Boolean
true if the MessageProperties contains an element with the specified name and can be removed; otherwise, false.
Implements
IDictionary<(Of <(TKey, TValue>)>)..::.Remove(TKey)
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone