다음을 통해 공유


WindowPane.IVsUIElementPane.SetUIElementSite(IServiceProvider) Method

Definition

Sets the site for this window pane.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SetUIElementSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ p) = Microsoft::VisualStudio::Shell::Interop::IVsUIElementPane::SetUIElementSite;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SetUIElementSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ p) = Microsoft::VisualStudio::Shell::Interop::IVsUIElementPane::SetUIElementSite;
int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SetUIElementSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & p);
int IVsUIElementPane.SetUIElementSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider p);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SetUIElementSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SetUIElementSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Function SetUIElementSite (p As IServiceProvider) As Integer Implements IVsUIElementPane.SetUIElementSite

Parameters

p
IServiceProvider

The service provider.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

This method calls SetSite.

Applies to