Skip to content

Commit 0e95627

Browse files
authored
fix code snippet language tags
1 parent c484e17 commit 0e95627

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/extensibility/getting-service-information-from-the-settings-store.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can use the settings store to find all available services or to determine wh
1818

1919
2. In *FindServicesCommand.cs*, add the following using directives:
2020

21-
```vb
21+
```csharp
2222
using System.Collections.Generic;
2323
using Microsoft.VisualStudio.Settings;
2424
using Microsoft.VisualStudio.Shell.Settings;
@@ -27,7 +27,7 @@ You can use the settings store to find all available services or to determine wh
2727

2828
3. Get the configuration settings store, then find the subcollection named Services. This collection includes all the available services. In the `MenuItemCommand` method, remove the existing code and replace it with the following:
2929

30-
```
30+
```csharp
3131
private void MenuItemCallback(object sender, EventArgs e)
3232
{
3333
SettingsManager settingsManager = new ShellSettingsManager(ServiceProvider);
@@ -57,7 +57,7 @@ You can use the settings store to find all available services or to determine wh
5757

5858
1. In the MenuItemCallback of the project you created in the previous procedure, search the configuration settings store for the `Services` collection that has the subcollection named by the GUID of the service. In this case we will look for the Help service.
5959

60-
```
60+
```csharp
6161
private void MenuItemCallback(object sender, EventArgs e)
6262
{
6363
SettingsManager settingsManager = new ShellSettingsManager(ServiceProvider);

0 commit comments

Comments
 (0)