IVsUIElementPane.SetUIElementSite(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.
Sites this pane.
public:
int SetUIElementSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ pSP);
public:
int SetUIElementSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ pSP);
int SetUIElementSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & pSP);
public int SetUIElementSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider pSP);
abstract member SetUIElementSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Public Function SetUIElementSite (pSP As IServiceProvider) As Integer
Parameters
- pSP
- IServiceProvider
The service provider of the surface on which this pane was created..
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Visual Studio calls this method to site the pane with the service provider of the surface on which it is created.