Share via


FamilyTypefaceCollection.IndexOf(FamilyTypeface) メソッド

定義

コレクション内の指定した FamilyTypeface オブジェクトのインデックスを返します。

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

パラメーター

item
FamilyTypeface

検索する FamilyTypeface オブジェクト。

戻り値

Int32

見つかった場合は 0 から始まるインデックス。それ以外の item場合は -1。

実装

適用対象