KeyedByTypeCollection<TItem> Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da KeyedByTypeCollection<TItem> classe.
Sobrecargas
| Name | Descrição |
|---|---|
| KeyedByTypeCollection<TItem>() |
Inicializa uma nova instância da KeyedByTypeCollection<TItem> classe. |
| KeyedByTypeCollection<TItem>(IEnumerable<TItem>) |
Inicializa uma nova instância da KeyedByTypeCollection<TItem> classe para uma enumeração específica de objetos. |
KeyedByTypeCollection<TItem>()
- Origem:
- KeyedByTypeCollection.cs
- Origem:
- KeyedByTypeCollection.cs
- Origem:
- KeyedByTypeCollection.cs
Inicializa uma nova instância da KeyedByTypeCollection<TItem> classe.
public:
KeyedByTypeCollection();
public KeyedByTypeCollection();
Public Sub New ()
Aplica-se a
KeyedByTypeCollection<TItem>(IEnumerable<TItem>)
- Origem:
- KeyedByTypeCollection.cs
- Origem:
- KeyedByTypeCollection.cs
- Origem:
- KeyedByTypeCollection.cs
Inicializa uma nova instância da KeyedByTypeCollection<TItem> classe para uma enumeração específica de objetos.
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))
Parâmetros
- items
- IEnumerable<TItem>
O IEnumerable<T> de tipo Object genérico usado para inicializar a coleção.
Exceções
items é null.