IVsUIHierarchy::GetSite Method (IServiceProvider^)
Visual Studio 2015
Gets the service provider from which to access the services.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- ppSP
-
Type:
Microsoft.VisualStudio.OLE.Interop::IServiceProvider^
[out] Pointer to the IServiceProvider interface of the service provider.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsHierarchy::GetSite(IServiceProvider^)From vsshell.idl:
HRESULT IVsUIHierarchy::GetSite( [out] IServiceProvider **ppSP );
This method is not typically called directly, because sites are generally set.
Show: