共用方式為


Colorizer Constructor

Initializes the Colorizer class.

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

Syntax

'宣告
Public Sub New ( _
    svc As LanguageService, _
    buffer As IVsTextLines, _
    scanner As IScanner _
)
'用途
Dim svc As LanguageService
Dim buffer As IVsTextLines
Dim scanner As IScanner

Dim instance As New Colorizer(svc, buffer, _
    scanner)
public Colorizer(
    LanguageService svc,
    IVsTextLines buffer,
    IScanner scanner
)
public:
Colorizer(
    LanguageService^ svc, 
    IVsTextLines^ buffer, 
    IScanner^ scanner
)
new : 
        svc:LanguageService * 
        buffer:IVsTextLines * 
        scanner:IScanner -> Colorizer
public function Colorizer(
    svc : LanguageService, 
    buffer : IVsTextLines, 
    scanner : IScanner
)

Parameters

Remarks

The IScanner object is obtained from the GetScanner method.

.NET Framework Security

See Also

Reference

Colorizer Class

Colorizer Members

Microsoft.VisualStudio.Package Namespace