Condividi tramite


FlavoredProjectFactoryBase.IVsProjectFactory.SetSite Method

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

Syntax

'Dichiarazione
Private Function SetSite ( _
    provider As IServiceProvider _
) As Integer Implements IVsProjectFactory.SetSite
'Utilizzo
Dim instance As FlavoredProjectFactoryBase
Dim provider As IServiceProvider
Dim returnValue As Integer

returnValue = CType(instance, IVsProjectFactory).SetSite(provider)
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

Implements

IVsProjectFactory.SetSite(IServiceProvider)

.NET Framework Security

See Also

Reference

FlavoredProjectFactoryBase Class

FlavoredProjectFactoryBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace