API Reference > OdRx Classes > OdRxResourceLoader Class > OdRxResourceLoader Methods > OdRxResourceLoader::loadString Method
OdRxResourceLoader::loadString Method
Syntax
C++
static OdResult loadString(const OdRxObject* pClass, unsigned int id, unsigned int sourceHint, OdString& result);
Parameters 
Description 
const OdRxObject* pClass 
[in] Class to be queried.  
unsigned int id 
[in] Resource ID of the string.  
unsigned int sourceHint 
[in] Resource ID hint.  
OdString& result 
[out] Loaded string. 

Result of the subLoadString() call for the queried class or eNotImplemented if the subLoadString() is not implemented in the queried class.

Load the string identified by the ID and a hint. Queries the class for OdRxResourceLoader and calls subLoadString() to do the actual loading. 

 

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