FontFamilyMapCollection.IndexOf(FontFamilyMap) メソッド
定義
コレクション内の指定した FontFamilyMap オブジェクトのインデックスを返します。Returns the index of the specified FontFamilyMap object within the collection.
public:
virtual int IndexOf(System::Windows::Media::FontFamilyMap ^ item);
public int IndexOf (System.Windows.Media.FontFamilyMap item);
abstract member IndexOf : System.Windows.Media.FontFamilyMap -> int
override this.IndexOf : System.Windows.Media.FontFamilyMap -> int
Public Function IndexOf (item As FontFamilyMap) As Integer
パラメーター
- item
- FontFamilyMap
検索するオブジェクトです。The object to locate.
戻り値
item
が見つかった場合はその項目の 0 から始まるインデックス。それ以外の場合は -1。The zero-based index of item
, if found; otherwise -1;