FamilyTypefaceCollection.IndexOf Method (FamilyTypeface)

 

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Public Function IndexOf (
	item As FamilyTypeface
) As Integer

Parameters

item
Type: System.Windows.Media.FamilyTypeface

The FamilyTypeface object to locate.

Return Value

Type: System.Int32

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

.NET Framework
Available since 3.0
Return to top
Show: