Compartilhar via


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

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

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace