共用方式為


SVsFontAndColorStorage Interface

Object providing access to the Visual Studio SDK implementation of the Font and Color storage service.

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

Syntax

'宣告
<ComVisibleAttribute(False)> _
<GuidAttribute("40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")> _
<GuidAttribute("40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")> _
Public Interface SVsFontAndColorStorage
'用途
Dim instance As SVsFontAndColorStorage
[ComVisibleAttribute(false)]
[GuidAttribute("40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")]
[GuidAttribute("40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")]
public interface SVsFontAndColorStorage
[ComVisibleAttribute(false)]
[GuidAttribute(L"40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")]
[GuidAttribute(L"40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")]
public interface class SVsFontAndColorStorage
[<ComVisibleAttribute(false)>]
[<GuidAttribute("40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")>]
[<GuidAttribute("40BC7B1A-E625-4DA1-86B4-7660F3CCBB16")>]
type SVsFontAndColorStorage =  interface end
public interface SVsFontAndColorStorage

Remarks

This object supports two interfaces: IVsFontAndColorStorage and IVsFontAndColorUtilities

To obtain a supported interface, pass SVsFontAndColorStorage to GetService and then cast it to the desired supported interface.

An instance of IVsFontAndColorStorage may be obtained with:

    IVsFontAndColorStorage instance = GetService(SVsFontAndColorStorage) as IVsFontAndColorStorage;

An instance of IVsFontAndColorUtilities may be obtained with:

    IVsFontAndColorUtilities instance = GetService(SVsFontAndColorStorage) as IVsFontAndColorUtilities;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace