Grouping<TKey,TElement>(TKey, IEnumerable<TElement>) Constructor
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.
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.