Sdílet prostřednictvím


FlavoredProjectFactory.IVsProjectFactory.SetSite(IServiceProvider) Method

Definition

Initializes the project and allows the project to obtain services proffered by the environment.

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

Parameters

Returns

Microsoft.VisualStudio.NativeMethods.S_OK.

Implements

Applies to