共用方式為


FlavoredProject.IVsUIHierarchy.GetSite(IServiceProvider) Method

Definition

Gets the service provider from which to access the services.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetSite([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ % ppSP) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::GetSite;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetSite([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ &  ppSP) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::GetSite;
int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetSite([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & & ppSP);
int IVsUIHierarchy.GetSite (out Microsoft.VisualStudio.OLE.Interop.IServiceProvider ppSP);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetSite : IServiceProvider -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.GetSite : IServiceProvider -> int
Function GetSite (ByRef ppSP As IServiceProvider) As Integer Implements IVsUIHierarchy.GetSite

Parameters

Returns

Microsoft.VisualStudio.NativeMethods.S_OK.

Implements

Remarks

This method calls the GetSite method.

Applies to