Partager via


ServiceProvider.CreateFromSetSite Method

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

Syntax

'Déclaration
Public Shared Function CreateFromSetSite ( _
    sp As IServiceProvider _
) As ServiceProvider
'Utilisation
Dim sp As IServiceProvider
Dim returnValue As ServiceProvider

returnValue = ServiceProvider.CreateFromSetSite(sp)
public static ServiceProvider CreateFromSetSite(
    IServiceProvider sp
)
public:
static ServiceProvider^ CreateFromSetSite(
    IServiceProvider^ sp
)
static member CreateFromSetSite : 
        sp:IServiceProvider -> ServiceProvider 
public static function CreateFromSetSite(
    sp : IServiceProvider
) : ServiceProvider

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.ServiceProvider

.NET Framework Security

See Also

Reference

ServiceProvider Class

ServiceProvider Members

Microsoft.VisualStudio.Shell Namespace