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

 

Gets 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 GetSite(
	[OutAttribute] IServiceProvider^% serviceProvider
) sealed = IVsHierarchy::GetSite

Return Value

Type: System::Int32

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

Return to top
Show: