Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sites this pane.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function SetUIElementSite ( _
pSP As IServiceProvider _
) As Integer
int SetUIElementSite(
IServiceProvider pSP
)
int SetUIElementSite(
[InAttribute] IServiceProvider^ pSP
)
abstract SetUIElementSite :
pSP:IServiceProvider -> int
function SetUIElementSite(
pSP : IServiceProvider
) : int
Parameters
pSP
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProviderThe service provider of the surface on which this pane was created..
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Visual Studio calls this method to site the pane with the service provider of the surface on which it is created.
.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.