次の方法で共有


LanguageService Constructor

Initializes a new instance of the LanguageService class.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Protected Sub New
'使用

Dim instance As New LanguageService()
protected LanguageService()
protected:
LanguageService()
new : unit -> LanguageService
protected function LanguageService()

Remarks

Remember to call the base class constructor in your derived class's constructor.

Examples

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

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

.NET Framework Security

See Also

Reference

LanguageService Class

LanguageService Members

Microsoft.VisualStudio.Package Namespace