Source Constructor

Initializes a new instance of the Source class.

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

Syntax

'宣言
Public Sub New ( _
    service As LanguageService, _
    textLines As IVsTextLines, _
    colorizer As Colorizer _
)
'使用
Dim service As LanguageService
Dim textLines As IVsTextLines
Dim colorizer As Colorizer

Dim instance As New Source(service, _
    textLines, colorizer)
public Source(
    LanguageService service,
    IVsTextLines textLines,
    Colorizer colorizer
)
public:
Source(
    LanguageService^ service, 
    IVsTextLines^ textLines, 
    Colorizer^ colorizer
)
public function Source(
    service : LanguageService, 
    textLines : IVsTextLines, 
    colorizer : Colorizer
)

Parameters

Remarks

The Source class -- or your derivation of this class -- is instantiated in your implementation of the CreateSource method. If you derive from the Source class, be sure to call the base constructor.

Permissions

See Also

Concepts

IronPython Sample

Reference

Source Class

Source Members

Microsoft.VisualStudio.Package Namespace

Source