BaseObjectStorageHelper.KeyExists 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.
Overloads
KeyExists(String) |
Determines whether a setting already exists. |
KeyExists(String, String) |
Determines whether a setting already exists in composite. |
KeyExists(String)
Determines whether a setting already exists.
public bool KeyExists (string key);
abstract member KeyExists : string -> bool
override this.KeyExists : string -> bool
Public Function KeyExists (key As String) As Boolean
Parameters
- key
- String
Key of the setting (that contains object)
Returns
true
if the setting exists; otherwise, false
.
Implements
Applies to
KeyExists(String, String)
Determines whether a setting already exists in composite.
public bool KeyExists (string compositeKey, string key);
abstract member KeyExists : string * string -> bool
override this.KeyExists : string * string -> bool
Public Function KeyExists (compositeKey As String, key As String) As Boolean
Parameters
- compositeKey
- String
Key of the composite (that contains settings)
- key
- String
Key of the setting (that contains object)
Returns
true
if the setting exists; otherwise, false
.