Package::IVsPackage::SetSite Method (IServiceProvider^)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Initializes the VSPackage in the Visual Studio environment.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- sp
-
Type:
Microsoft.VisualStudio.OLE.Interop::IServiceProvider^
IServiceProvider object.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsPackage::SetSite(IServiceProvider^)
Show: