KeyedByTypeCollection<TItem>.GetKeyForItem(TItem) Metoda

Definicja

Pobiera typ elementu zawartego w kolekcji.

protected:
 override Type ^ GetKeyForItem(TItem item);
protected override Type GetKeyForItem (TItem item);
override this.GetKeyForItem : 'Item -> Type
Protected Overrides Function GetKeyForItem (item As TItem) As Type

Parametry

item
TItem

Element w kolekcji, którego typ ma zostać pobrany.

Zwraca

Typ określonego item w kolekcji.

Wyjątki

item to null.

Dotyczy