WindowPane::IVsUIElementPane::SetUIElementSite Method (IServiceProvider^)

 

Sets the site for this window pane.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int SetUIElementSite(
	IServiceProvider^ p
) sealed = IVsUIElementPane::SetUIElementSite

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.

This method calls SetSite.

Return to top
Show: