C++
int asInt() const;
Description
Returns the current value if the variant type is kInt. This method is invalid for any other type, and does not convert from any other type.
int asInt() const;
Returns the current value if the variant type is kInt. This method is invalid for any other type, and does not convert from any other type.