Edit

Share via


MessageProperties.ContainsKey(String) Method

Definition

Determines whether the MessageProperties contains a specific name, key, or identifier.

public:
 virtual bool ContainsKey(System::String ^ name);
public bool ContainsKey (string name);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (name As String) As Boolean

Parameters

name
String

The name, key, or identifier to locate in the MessageProperties.

Returns

true if the MessageProperties contains an element with the specified name; otherwise, false.

Implements

Applies to