WindowPane.IVsUIElementPane.SetUIElementSite Method
Sets the site for this window pane.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Private Function SetUIElementSite ( _
p As IServiceProvider _
) As Integer Implements IVsUIElementPane.SetUIElementSite
int IVsUIElementPane.SetUIElementSite(
IServiceProvider p
)
Parameters
- p
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProvider
The service provider.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsUIElementPane.SetUIElementSite(IServiceProvider)
Remarks
This method calls SetSite.
.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.