ServiceProvider.CreateFromSetSite Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function CreateFromSetSite ( _
sp As IServiceProvider _
) As ServiceProvider
'Usage
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
- 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.