IVsMRESearchProvider.SetSite Method
Initializes the search provider.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub SetSite ( _
pSP As IServiceProvider _
)
void SetSite(
IServiceProvider pSP
)
void SetSite(
[InAttribute] IServiceProvider^ pSP
)
abstract SetSite :
pSP:IServiceProvider -> unit
function SetSite(
pSP : IServiceProvider
)
Parameters
pSP
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProviderA pointer to an IServiceProvider that can be used to obtain other shell services.
.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.