WindowPane::IVsWindowPane::SetSite Method (IServiceProvider^)

 
Note: This API is now obsolete.

Initializes this window pane with the specified service provider. Obsolete.

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

private:
[ObsoleteAttribute("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
virtual int SetSite(
	IServiceProvider^ psp
) sealed = IVsWindowPane::SetSite

Return Value

Type: System::Int32

If this method succeeds, it returns S_OK; if it fails, it returns F:Microsoft.VisualStudio.VSConstants._FAIL.

The T:Microsoft.VisualStudio.Shell.Interop.IVsWindowPane interface on this class is obsolete. Please use T:Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane instead.

Return to top
Show: