Idioma

KeyedByTypeCollection<TItem> Construtores

Definição

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.

Aplica-se a