This method of the SafeArray Class retrieves the variant type of the SafeArray elements. This corresponds to a public constant, com.ms.com.VariantXXX.
public int getvt();
Note If JavaTLB is used to generate the Java method information that passes a SafeArray from COM to Java, the variant type might be inexact. (The element size, however, will always be correct.) JavaTLB has been superceded by the jactivex tool, which binds the exact variant type into the .class file.
Returns the variant type of the element.