Share

AcGiVariant::getElemAt

C++

Acad::ErrorStatus getElemAt(
    int nIndex, 
    ACHAR*&, 
    AcGiVariant &
) const;

Description

Deprecated. Returns the key and value at a specific position in the table. Note that it is not guaranteed that the index number remains consistent.

Caller is responsible for deleting the outgoing 'key' using acutDelString.

Returns Acad::eOk if an item was found at location 'idx' and the key and value can be retrieved successfully.

Parameters

Parameters Description
idx Input index to table
key Output value at table
value Output AcGiVariant value at table index

Links

AcGiVariant

Previous Declaration

Acad::ErrorStatus getElem(ACHAR *const, AcGiVariant & value) const;

Use Instead

ACDBCORE2D_PORT Acad::ErrorStatus getElemAt(int nIndex, AcString &, AcGiVariant &) const;

Was this information helpful?