Export (0) Print
Expand All

IVsUIElementPane.SetUIElementSite Method

Sites this pane.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int SetUIElementSite(
	IServiceProvider pSP
)

Parameters

pSP
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProvider
The service provider of the surface on which this pane was created..

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Visual Studio calls this method to site the pane with the service provider of the surface on which it is created.

Community Additions

ADD
Show:
© 2014 Microsoft