Compartir a través de


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

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

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace