IDocumentSite2.GetObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the IDispatch interface of the object.
public:
int GetObject([Runtime::InteropServices::Out] System::Object ^ % ppDisp);
int GetObject([Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppDisp);
public int GetObject (out object ppDisp);
abstract member GetObject : obj -> int
Public Function GetObject (ByRef ppDisp As Object) As Integer
Parameters
- ppDisp
- Object
[out] The IDispatch
interface.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From objext.idl:
[C++]
HRESULT IDocumentSite2::GetObject(
[out] IDispatch** ppDisp
);