Udostępnij za pośrednictwem


IVsFontAndColorDefaultsProvider Interface

Definition

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.

public interface class IVsFontAndColorDefaultsProvider
public interface class IVsFontAndColorDefaultsProvider
__interface IVsFontAndColorDefaultsProvider
[System.Runtime.InteropServices.Guid("3448FF72-B072-435E-9059-29D89C0A3CD0")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFontAndColorDefaultsProvider
[System.Runtime.InteropServices.Guid("3448FF72-B072-435E-9059-29D89C0A3CD0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFontAndColorDefaultsProvider
[<System.Runtime.InteropServices.Guid("3448FF72-B072-435E-9059-29D89C0A3CD0")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFontAndColorDefaultsProvider = interface
[<System.Runtime.InteropServices.Guid("3448FF72-B072-435E-9059-29D89C0A3CD0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFontAndColorDefaultsProvider = interface
Public Interface IVsFontAndColorDefaultsProvider
Attributes

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.

Methods

GetObject(Guid, Object)

Returns an IVsFontAndColorDefaults or an IVsFontAndColorGroupIVsFontAndColorDefaults interface for the category specified by the rguidCategory parameter.

Applies to