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
- provider
Type: System.IServiceProvider
Return Value
Type: System.Drawing.Font
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.