WindowPane.IVsWindowPane.SetSite(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane
Initializes this window pane with the specified service provider. Obsolete.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ psp) = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::SetSite;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ psp) = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::SetSite;
int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & psp);
[System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
int IVsWindowPane.SetSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider psp);
[<System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")>]
abstract member Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Function SetSite (psp As IServiceProvider) As Integer Implements IVsWindowPane.SetSite
Parameters
Returns
If this method succeeds, it returns S_OK; if it fails, it returns Microsoft.VisualStudio.VSConstants._FAIL.
Implements
- Attributes
Remarks
The <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.SetSite interface on this class is obsolete. Please use <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.SetSite instead.