API Reference > OdRx Classes > OdRxAlternateLocalizedNameAttribute Class > OdRxAlternateLocalizedNameAttribute Methods > OdRxAlternateLocalizedNameAttribute::createObject Method
OdRxAlternateLocalizedNameAttribute::createObject Method
Syntax
C++
static OdRxAttributePtr createObject(unsigned int id, unsigned int sourceHint = 0);
Parameters 
Description 
unsigned int id 
[in] Resource ID of the string.  
unsigned int sourceHint = 0 
[in] Resource ID hint. 

Smart pointer to a constructed attribute object.

Constructor. Creates an instance of the attribute to store a string identifier. 

 

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