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.
Loads a package. If the package is not already loaded, this method provides additional diagnostic information about the reason for loading. Negative reason codes are reserved by the environment.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function LoadPackageWithContext ( _
ByRef packageGuid As Guid, _
reason As Integer, _
ByRef context As Guid _
) As IVsPackage
IVsPackage LoadPackageWithContext(
ref Guid packageGuid,
int reason,
ref Guid context
)
IVsPackage^ LoadPackageWithContext(
[InAttribute] Guid% packageGuid,
[InAttribute] int reason,
[InAttribute] Guid% context
)
abstract LoadPackageWithContext :
packageGuid:Guid byref *
reason:int *
context:Guid byref -> IVsPackage
function LoadPackageWithContext(
packageGuid : Guid,
reason : int,
context : Guid
) : IVsPackage
Parameters
packageGuid
Type: Guid%[in] GUID of the package to load.
reason
Type: Int32[in] The reason for loading the package.
context
Type: Guid%[in] Optional context information associated with the reason.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsPackage
The loaded package.
.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.