Share via


PropertyBag.Contains(Int32) Method

Definition

Determines whether the collection contains an element that has the specified key.

public:
 bool Contains(int key);
public bool Contains (int key);
member this.Contains : int -> bool
Public Function Contains (key As Integer) As Boolean

Parameters

key
Int32

The target integer key.

Returns

true if the collection contains an element that has the specified key; otherwise, false.

Applies to