C++
Acad::ErrorStatus getElem( const ACHAR * pKey, AcGiVariant & value ) const;
Description
This function is only valid if type() is kTable. This method is used to obtain the value paired with the string key.
Returns Acad::eOk if type() is kTable, the key exists in the table, and the value can be retrieved successfully
.
Parameters
Parameters | Description |
---|---|
value | Input reference to an AcGiVariant to be populated with the value located at the index. |
key | Input string index to an element in the table. |
Links
Previous Declaration
Acad::ErrorStatus getElem(
ACHAR *const,
AcGiVariant & value
) const;