API Reference > OdRx Classes > OdRxMethod Class > OdRxMethod Methods > OdRxMethod::invoke Method
OdRxMethod::invoke Method
Syntax
C++
OdResult invoke(OdRxObject* pO, OdRxValue& param) const;
Parameters 
Description 
OdRxObject* pO 
[in] The object which method to call.  
OdRxValue& param 
[in,out] Method parameter(s) wrapped in OdRxValue. If method needs to return a value it is assigned to the param. remarks Parameter may be OdRxValue::empty() if no input is required.  

Returns eOk if the call was successful.

Executes the underlying method of the object. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.