Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create the service
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
sp As IServiceProvider _
)
public AmbientFontService(
IServiceProvider sp
)
public:
AmbientFontService(
IServiceProvider^ sp
)
new :
sp:IServiceProvider -> AmbientFontService
public function AmbientFontService(
sp : IServiceProvider
)
Parameters
- sp
Type: System.IServiceProvider
.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.