Bagikan melalui


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("3448FF72-B072-435E-9059-29D89C0A3CD0")> _
Public Interface IVsFontAndColorDefaultsProvider
[InterfaceTypeAttribute()]
[GuidAttribute("3448FF72-B072-435E-9059-29D89C0A3CD0")]
public interface IVsFontAndColorDefaultsProvider
[InterfaceTypeAttribute()]
[GuidAttribute(L"3448FF72-B072-435E-9059-29D89C0A3CD0")]
public interface class IVsFontAndColorDefaultsProvider
[<InterfaceTypeAttribute()>]
[<GuidAttribute("3448FF72-B072-435E-9059-29D89C0A3CD0")>]
type IVsFontAndColorDefaultsProvider =  interface end
public interface IVsFontAndColorDefaultsProvider

The IVsFontAndColorDefaultsProvider type exposes the following members.

Methods

  Name Description
Public method GetObject Returns an IVsFontAndColorDefaults or an IVsFontAndColorGroupIVsFontAndColorDefaults interface for the category specified by the rguidCategory parameter.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace