Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A strongly-typed collection of key-value pairs. Keys are always strings, but values may be arbitrary .NET types that are marked as [DataContract].
Namespace:   Microsoft.WindowsServerSolutions.Settings
Assembly:  SettingsObjectModel (in SettingsObjectModel.dll)
Inheritance Hierarchy
System.Object
  Microsoft.WindowsServerSolutions.Settings.SettingsCollection<T>
Syntax
public class SettingsCollection<T>
where T : class
generic<typename T>
where T : ref class
public ref class SettingsCollection 
Public Class SettingsCollection(Of T As Class)
Type Parameters
- T
 The value type of this collection.
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Item[String] | Gets or sets an item based on the specified key. | 
| .jpeg) | Items | Gets an enumerator of items in this collection. | 
| .jpeg) | Keys | Gets an enumeration of the keys in this collection. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Commit() | Saves all of the updates to the collection. | 
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | Rollback() | Removes any changes that were made since the last commit. | 
| .jpeg) | ToString() | (Inherited from Object.) | 
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Settings Namespace
Return to top