Modifica

Condividi tramite


FamilyTypefaceCollection.IndexOf(FamilyTypeface) Method

Definition

Returns the index of the specified FamilyTypeface object within the collection.

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

Parameters

item
FamilyTypeface

The FamilyTypeface object to locate.

Returns

The zero-based index of item, if found; otherwise -1.

Implements

Applies to