Share via


TransactionContext.Contains(Object) Method

Definition

Query whether the specified key has been associated with a value in this transaction context

public:
 bool Contains(System::Object ^ key);
public bool Contains (object key);
member this.Contains : obj -> bool
Public Function Contains (key As Object) As Boolean

Parameters

key
Object

The key to lookup. Cannot be null.

Returns

True if the key is found, else false.

Applies to