Gets the Package object.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Protected Function GetPackage As Package
'使用
Dim returnValue As Package
returnValue = Me.GetPackage()
protected Package GetPackage()
protected:
Package^ GetPackage()
protected function GetPackage() : Package
Return Value
Type: Microsoft.VisualStudio.Shell.Package
A Package object.
Permissions
- 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.