ContainsKey Method

MessageProperties.ContainsKey Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the MessageProperties contains a specific name. This method cannot be inherited.

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

public bool ContainsKey(
	string name
)

Parameters

name
Type: System.String
The name to locate in the MessageProperties.

Return Value

Type: System.Boolean
true if the MessageProperties contains an element with the specified name; otherwise, false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft