Freigeben über


VsShellUtilities.GetEnvironmentFont Method

Retrieve the host's environment font as a Font.

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

Syntax

'Declaration
Public Shared Function GetEnvironmentFont ( _
    provider As IServiceProvider _
) As Font
public static Font GetEnvironmentFont(
    IServiceProvider provider
)
public:
static Font^ GetEnvironmentFont(
    IServiceProvider^ provider
)
static member GetEnvironmentFont : 
        provider:IServiceProvider -> Font
public static function GetEnvironmentFont(
    provider : IServiceProvider
) : Font

Parameters

  • provider
    Type: IServiceProvider

    The service provider.

Return Value

Type: Font
The font.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace