B-Arts DocumentationIndice generale

BCollection

Identità

  • Namespace: B.BLists

  • Assembly: BFramework

  • Tipo: class

  • Classe base: List<BItemField>

  • Interfacce: IList<BItemField>, ICollection<BItemField>, IEnumerable<BItemField>, IEnumerable, IList, ICollection, IReadOnlyList<BItemField>, IReadOnlyCollection<BItemField>

  • Sorgente API: versione 5.0.0

Scopo

Collezione B-Arts specializzata di BItemField. Oltre al comportamento di List<BItemField>, permette di aggiungere, leggere, assegnare e rimuovere il valore associato a un codice stringa.

La ricerca per codice è sequenziale e distingue maiuscole e minuscole. Non è una collezione generica: quando gli elementi non sono BItemField, usare una collezione .NET appropriata.

Dichiarazione

public class BCollection : List<BItemField>, IList<BItemField>, ICollection<BItemField>, IEnumerable<BItemField>, IEnumerable, IList, ICollection, IReadOnlyList<BItemField>, IReadOnlyCollection<BItemField>

Costruttori

  • BCollection()

Proprietà

Proprietà Tipo Accesso
Item object? get/set

Metodi

  • void Add(object obj, string key)

  • bool Remove(string key)

Esempi

Consultare BCollection - Esempi.