This documentation is archived and is not being maintained.

IVsFontAndColorDefaultsProvider Interface

Provides an instance of the IVsFontAndColorDefaults or the IVsFontAndColorGroup interface corresponding to a particular Category -- a particular item listed in the Show Settings For: drop down listing of the Fonts and Colors properties page of the Options dialog box.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsFontAndColorDefaultsProvider

The IVsFontAndColorDefaultsProvider type exposes the following members.

Public methodGetObjectReturns an IVsFontAndColorDefaults or an IVsFontAndColorGroup IVsFontAndColorDefaults interface for the category specified by the rguidCategory parameter.

The category provider must also contain at least one implementation of IVsFontAndColorDefaults to be useful.

Notes to Implementers

A language service must implement the IVsFontAndColorDefaultsProvider interface to proffer Font and Color categories.