Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Calls GetPrimaryView on the code window manager for the source.
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.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntax
'Declaration
Public Function GetPrimaryViewForSource ( _
src As Source _
) As IVsTextView
public IVsTextView GetPrimaryViewForSource(
Source src
)
public:
IVsTextView^ GetPrimaryViewForSource(
Source^ src
)
member GetPrimaryViewForSource :
src:Source -> IVsTextView
public function GetPrimaryViewForSource(
src : Source
) : IVsTextView
Parameters
src
Type: Microsoft.VisualStudio.Package.SourceThe source.
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
The primary view.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.