Share via


SettingsStore.GetCollection<T> Method (String)

 

Returns the specified collection.

Namespace:   Microsoft.WindowsServerSolutions.Settings
Assembly:  SettingsObjectModel (in SettingsObjectModel.dll)

Syntax

public SettingsCollection<T> GetCollection<T>(
    string collectionName
)
where T : class
public:
generic<typename T>
where T : ref class
SettingsCollection<T>^ GetCollection(
    String^ collectionName
)
Public Function GetCollection(Of T As Class) (
    collectionName As String
) As SettingsCollection(Of T)

Parameters

Return Value

Type: Microsoft.WindowsServerSolutions.Settings.SettingsCollection<T>

A SettingsCollection<T> object.

Type Parameters

  • T
    The type of objects in the collection.

See Also

SettingsStore Class
Microsoft.WindowsServerSolutions.Settings Namespace

Return to top