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

Returns the tuple of variant values.

Retrieves the current variant data as a variant tuple.

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

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