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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk