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 int IndexOf(
	FamilyTypeface item
)

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: