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
- provider
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProvider
Return Value
Type: System.Int32
Implements
IVsProjectFactory.SetSite(IServiceProvider)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
FlavoredProjectFactoryBase Class