FontFamily.ToString Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the value of the Source property.

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

public override string ToString()

Return Value

Type: System.String

The source location of the FontFamily object, including the directory or uniform resource identifier (URI) location reference.

If the FontFamily object was created without specifying a font family name, the return value is Empty.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top