Поделиться через


FlavoredProjectFactory.IVsProjectFactory.SetSite Method

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

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Private Function SetSite ( _
    provider As IServiceProvider _
) As Integer Implements IVsProjectFactory.SetSite
int IVsProjectFactory.SetSite(
    IServiceProvider provider
)
private:
virtual int SetSite(
    IServiceProvider^ provider
) sealed = IVsProjectFactory::SetSite
private abstract SetSite : 
        provider:IServiceProvider -> int 
private override SetSite : 
        provider:IServiceProvider -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK() .

Implements

IVsProjectFactory.SetSite(IServiceProvider)

.NET Framework Security

See Also

Reference

FlavoredProjectFactory Class

Microsoft.VisualStudio.Shell.Flavor Namespace