Share via


Grouping<TKey,TElement>(TKey, IEnumerable<TElement>) Constructor

Definition

Initializes a new instance of the Grouping<TKey,TElement> class.

public:
 Grouping(TKey key, System::Collections::Generic::IEnumerable<TElement> ^ elements);
public Grouping (TKey key, System.Collections.Generic.IEnumerable<TElement> elements);
new Microsoft.VisualStudio.Workspace.Grouping<'Key, 'Element> : 'Key * seq<'Element> -> Microsoft.VisualStudio.Workspace.Grouping<'Key, 'Element>
Public Sub New (key As TKey, elements As IEnumerable(Of TElement))

Parameters

key
TKey

The key for this group.

elements
IEnumerable<TElement>

The elements in this group.

Applies to