KeyedByTypeCollection<TItem> Constructors
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 KeyedByTypeCollection<TItem> class.
Overloads
KeyedByTypeCollection<TItem>() |
Initializes a new instance of the KeyedByTypeCollection<TItem> class. |
KeyedByTypeCollection<TItem>(IEnumerable<TItem>) |
Initializes a new instance of the KeyedByTypeCollection<TItem> class for a specified enumeration of objects. |
KeyedByTypeCollection<TItem>()
- Source:
- KeyedByTypeCollection.cs
- Source:
- KeyedByTypeCollection.cs
- Source:
- KeyedByTypeCollection.cs
Initializes a new instance of the KeyedByTypeCollection<TItem> class.
public:
KeyedByTypeCollection();
public KeyedByTypeCollection ();
Public Sub New ()
Applies to
KeyedByTypeCollection<TItem>(IEnumerable<TItem>)
- Source:
- KeyedByTypeCollection.cs
- Source:
- KeyedByTypeCollection.cs
- Source:
- KeyedByTypeCollection.cs
Initializes a new instance of the KeyedByTypeCollection<TItem> class for a specified enumeration of objects.
public:
KeyedByTypeCollection(System::Collections::Generic::IEnumerable<TItem> ^ items);
public KeyedByTypeCollection (System.Collections.Generic.IEnumerable<TItem> items);
new System.Collections.Generic.KeyedByTypeCollection<'Item> : seq<'Item> -> System.Collections.Generic.KeyedByTypeCollection<'Item>
Public Sub New (items As IEnumerable(Of TItem))
Parameters
- items
- IEnumerable<TItem>
The IEnumerable<T> of generic type Object used to initialize the collection.
Exceptions
items
is null
.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre