FamilyTypefaceCollection.IndexOf(FamilyTypeface) Metoda

Definicja

Zwraca indeks określonego FamilyTypeface obiektu w kolekcji.

public:
 virtual int IndexOf(System::Windows::Media::FamilyTypeface ^ item);
public int IndexOf (System.Windows.Media.FamilyTypeface item);
abstract member IndexOf : System.Windows.Media.FamilyTypeface -> int
override this.IndexOf : System.Windows.Media.FamilyTypeface -> int
Public Function IndexOf (item As FamilyTypeface) As Integer

Parametry

item
FamilyTypeface

Obiekt FamilyTypeface do zlokalizowania.

Zwraca

Int32

Indeks oparty na zerowej wartości , jeśli zostanie znaleziony item; w przeciwnym razie -1.

Implementuje

Dotyczy