WindowPane.IVsUIElementPane.SetUIElementSite Method
Sets the site for this window pane.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private Function SetUIElementSite ( _
p As IServiceProvider _
) As Integer Implements IVsUIElementPane.SetUIElementSite
int IVsUIElementPane.SetUIElementSite(
IServiceProvider p
)
private:
virtual int SetUIElementSite(
IServiceProvider^ p
) sealed = IVsUIElementPane::SetUIElementSite
private abstract SetUIElementSite :
p:IServiceProvider -> int
private override SetUIElementSite :
p:IServiceProvider -> int
JScript does not support explicit interface implementations.
Parameters
p
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProviderThe service provider.
Return Value
Type: 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.