This topic has not yet been rated - Rate this topic

IVsWindowPane.SetSite Method

Initializes a new window pane.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int SetSite(
	IServiceProvider psp
)

Parameters

psp
Type: Microsoft.VisualStudio.OLE.Interop.IServiceProvider
[in] Pointer to the IServiceProvider interface.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsWindowPane::SetSite(
   [in] IServiceProvider *pSP
);
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ