Share via


FontAndColorProviderBase.IVsFontAndColorDefaults.GetFont Method

Gets the font used by the editor.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Private Function GetFont ( _
    fontInfo As FontInfo() _
) As Integer Implements IVsFontAndColorDefaults.GetFont
'Usage
Dim instance As FontAndColorProviderBase 
Dim fontInfo As FontInfo()
Dim returnValue As Integer 

returnValue = CType(instance, IVsFontAndColorDefaults).GetFont(fontInfo)
int IVsFontAndColorDefaults.GetFont(
    FontInfo[] fontInfo
)
private:
virtual int GetFont(
    array<FontInfo>^ fontInfo
) sealed = IVsFontAndColorDefaults::GetFont
private abstract GetFont : 
        fontInfo:FontInfo[] -> int  
private override GetFont : 
        fontInfo:FontInfo[] -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • fontInfo
    Type: array<FontInfo[]
    An array of FontInfo objects.

Return Value

Type: System.Int32
A Font object.

Implements

IVsFontAndColorDefaultsGetFont(FontInfo)

See Also

Reference

FontAndColorProviderBase Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace