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 | |
|---|---|---|
![]() |
Item[String] | Gets or sets an item based on the specified key. |
![]() |
Items | Gets an enumerator of items in this collection. |
![]() |
Keys | Gets an enumeration of the keys in this collection. |
Methods
| Name | Description | |
|---|---|---|
![]() |
Commit() | Saves all of the updates to the collection. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
Rollback() | Removes any changes that were made since the last commit. |
![]() |
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
.jpeg)
.jpeg)
.jpeg)