Udostępnij za pośrednictwem


Konstruktor LanguageService —

Inicjuje nowe wystąpienie LanguageService klasy.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)

Składnia

'Deklaracja
Protected Sub New
protected LanguageService()

Uwagi

Pamiętaj, aby wywołać konstruktora klasy podstawowej w konstruktorze klasy pochodnej.

Przykłady

using Microsoft.VisualStudio.Package;
using Microsoft.VisualStudio.Shell;

namespace MyLanguagePackage
{
    [Guid("B614A40A-80D9-4fac-A6AD-FC2868FFF7CD")]
    public class MyLanguageService : LanguageService
    {
        public MyLanguageService()
            : base()
        {
        }
    }
}

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

LanguageService Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package