FlavoredProject::IVsHierarchy::SetSite Method (IServiceProvider^)

 

Sets the service provider from which to access the services.

Namespace:   Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int SetSite(
	IServiceProvider^ serviceProvider
) sealed = IVsHierarchy::SetSite

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This method calls the SetSite method on the inner project.

Return to top
Show: