共用方式為


FlavoredProjectBase.IVsHierarchy.SetSite(IServiceProvider) Method

Definition

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ serviceProvider) = Microsoft::VisualStudio::Shell::Interop::IVsHierarchy::SetSite;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ serviceProvider) = Microsoft::VisualStudio::Shell::Interop::IVsHierarchy::SetSite;
int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & serviceProvider);
int IVsHierarchy.SetSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider serviceProvider);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Function SetSite (serviceProvider As IServiceProvider) As Integer Implements IVsHierarchy.SetSite

Parameters

serviceProvider
IServiceProvider

Returns

The HRESULT.

Implements

Applies to