FlavoredProjectFactory.IVsProjectFactory.SetSite(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- provider
- IServiceProvider
Returns
Microsoft.VisualStudio.NativeMethods.S_OK.