IDocumentSite2::GetObject Method (Object^)

 

Returns the IDispatch interface of the object.

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

int GetObject(
	[OutAttribute] Object^% ppDisp
)

Parameters

ppDisp
Type: System::Object^

[out] The IDispatch interface.

Return Value

Type: System::Int32

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

From objext.idl:

[C++]

HRESULT IDocumentSite2::GetObject(
   [out] IDispatch** ppDisp
);
Return to top
Show: