次の方法で共有


LanguageService.GetPrimaryViewForSource Method

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)

Syntax

'宣言
Public Function GetPrimaryViewForSource ( _
    src As Source _
) As IVsTextView
'使用
Dim instance As LanguageService
Dim src As Source
Dim returnValue As IVsTextView

returnValue = instance.GetPrimaryViewForSource(src)
public IVsTextView GetPrimaryViewForSource(
    Source src
)
public:
IVsTextView^ GetPrimaryViewForSource(
    Source^ src
)
member GetPrimaryViewForSource : 
        src:Source -> IVsTextView 
public function GetPrimaryViewForSource(
    src : Source
) : IVsTextView

Parameters

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView

.NET Framework Security

See Also

Reference

LanguageService Class

LanguageService Members

Microsoft.VisualStudio.Package Namespace