SettingValues Class
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.
The value of a multiple settings.
public sealed class SettingValues : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier,Microsoft.VisualStudio.Extensibility.Settings.ISettingValue>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier,Microsoft.VisualStudio.Extensibility.Settings.ISettingValue>>, System.Collections.Generic.IReadOnlyDictionary<Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier,Microsoft.VisualStudio.Extensibility.Settings.ISettingValue>
type SettingValues = class
interface IReadOnlyDictionary<SettingIdentifier, ISettingValue>
interface seq<KeyValuePair<SettingIdentifier, ISettingValue>>
interface IEnumerable
interface IReadOnlyCollection<KeyValuePair<SettingIdentifier, ISettingValue>>
Public NotInheritable Class SettingValues
Implements IEnumerable(Of KeyValuePair(Of SettingIdentifier, ISettingValue)), IReadOnlyCollection(Of KeyValuePair(Of SettingIdentifier, ISettingValue)), IReadOnlyDictionary(Of SettingIdentifier, ISettingValue)
- Inheritance
-
SettingValues
- Implements
Properties
Count | Gets the number of elements in the collection. |
Item[SettingIdentifier] | Gets the element that has the specified key in the read-only dictionary. |
Keys | Gets an enumerable collection that contains the keys in the read-only dictionary. |
Succeeded |
Gets a value indicating whether all of the setting values are successfully retrieved. |
Values | Gets an enumerable collection that contains the values in the read-only dictionary. |
Methods
ContainsKey(Setting) |
Determines whether the read-only dictionary contains an element that has the specified key. |
ContainsKey(SettingIdentifier) | Determines whether the read-only dictionary contains an element that has the specified key. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
TryGetValue(SettingIdentifier, ISettingValue) | System.Object.TryGetValue(Microsoft.VisualStudio.Extensibility.Settings.SettingIdentifier,Microsoft.VisualStudio.Extensibility.Settings.ISettingValue@) |
TryGetValue<T>(Setting<T>, SettingValue<T>) |
Gets the value that is associated with the specified key. |
TryGetValue<T>(SettingIdentifier<T>, SettingValue<T>) |
Gets the value that is associated with the specified key. |
Value<T>(Setting+ObjectArray) |
Gets the value of |
Value<T>(Setting<T>) |
Gets the value of |
Value<T>(SettingIdentifier<T>) |
Gets the value of |
ValueOrDefault<T>(Setting+ObjectArray, T[]) |
Gets the value converted to the type |
ValueOrDefault<T>(Setting<T>, T) |
Gets the value converted to the type |
ValueOrDefault<T>(SettingIdentifier<T>, T) |
Gets the value converted to the type |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |