다음을 통해 공유


ExpansionProvider Constructor

Initializes a new instance of the ExpansionProvider class.

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

Syntax

‘선언
Public Sub New ( _
    src As Source _
)
‘사용 방법
Dim src As Source

Dim instance As New ExpansionProvider(src)
public ExpansionProvider(
    Source src
)
public:
ExpansionProvider(
    Source^ src
)
new : 
        src:Source -> ExpansionProvider
public function ExpansionProvider(
    src : Source
)

Parameters

Remarks

The base method obtains the IVsTextLines object returned from the GetTextLines method on the Source object and then casts the IVsTextLines object to an IVsExpansion object. If successful, the IVsTextLines object supports insertion of code snippets (which is done through the IVsExpansion interface). The rest of the methods in the ExpansionProvider class assume the IVsExpansion object was successfully obtained.

.NET Framework Security

See Also

Reference

ExpansionProvider Class

ExpansionProvider Members

Microsoft.VisualStudio.Package Namespace