PropertyBag.Contains(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.