API Reference > Classes > OdTf Classes > OdTfVariant Class > OdTfVariant Methods > OdTfVariant::asVariantArray Method
OdTfVariant::asVariantArray Method
Syntax
C++
OdTfVariantArray& asVariantArray();

Returns the array of variant values.

Retrieves the current variant data as a variant array.

In the variant object has a data type that differs from the array data type, the method throws an exception.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.