Share via


IVsUIElementPane.SetUIElementSite(IServiceProvider) Method

Definition

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.

Applies to