FlavoredProject.IVsUIHierarchy.SetSite(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the service provider from which to access the services.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ psp) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::SetSite;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ psp) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::SetSite;
int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & psp);
int IVsUIHierarchy.SetSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider psp);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Function SetSite (psp As IServiceProvider) As Integer Implements IVsUIHierarchy.SetSite
Parameters
Returns
Microsoft.VisualStudio.NativeMethods.S_OK.
Implements
Remarks
This method calls the SetSite method, which calls the SetSite method on the inner project.