SettingValues.ContainsKey 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
ContainsKey(Setting) |
Determines whether the read-only dictionary contains an element that has the specified key. |
ContainsKey(SettingIdentifier) |
ContainsKey(Setting)
Determines whether the read-only dictionary contains an element that has the specified key.
public bool ContainsKey (Microsoft.VisualStudio.Extensibility.Settings.Setting key);
member this.ContainsKey : Microsoft.VisualStudio.Extensibility.Settings.Setting -> bool
Public Function ContainsKey (key As Setting) As Boolean
Parameters
- key
- Setting
The key to locate.
Returns
true
true if the read-only dictionary contains an element that has the specified key; otherwise,
false
.
Applies to
ContainsKey(SettingIdentifier)
Determines whether the read-only dictionary contains an element that has the specified key.
public bool ContainsKey (Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier key);
abstract member ContainsKey : Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier -> bool
override this.ContainsKey : Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier -> bool
Public Function ContainsKey (key As SettingIdentifier) As Boolean