Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the site for this window pane.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.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.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.