Skip to content

Properties.ContainsKey Method ​

Definition ​

Tests whether a property exists with the specified key.

c#
public bool ContainsKey(string key);

View source

Parameters ​

NameTypeDescription
keyStringThe key of the property.

Returns ​

Boolean

true if the property exists, false otherwise.