FontFamilyMapCollection.IndexOf(FontFamilyMap) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- item
- FontFamilyMap
The object to locate.
Returns
The zero-based index of item
, if found; otherwise -1.