共用方式為


VsShellUtilities.GetEnvironmentFont Method

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

Syntax

'宣告
Public Shared Function GetEnvironmentFont ( _
    provider As IServiceProvider _
) As Font
'用途
Dim provider As IServiceProvider
Dim returnValue As Font

returnValue = VsShellUtilities.GetEnvironmentFont(provider)
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

Return Value

Type: System.Drawing.Font

.NET Framework Security

See Also

Reference

VsShellUtilities Class

VsShellUtilities Members

Microsoft.VisualStudio.Shell Namespace