IVsShell5::LoadPackageWithContext Method (Guid, Int32, Guid)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
IVsPackage^ LoadPackageWithContext(
[InAttribute] Guid% packageGuid,
int reason,
[InAttribute] Guid% context
)
Parameters
- packageGuid
-
Type:
System::Guid
[in] GUID of the package to load.
- reason
-
Type:
System::Int32
[in] The reason for loading the package.
- context
-
Type:
System::Guid
[in] Optional context information associated with the reason.
Show: