public abstract class OleAutoUtil
extends java.lang.Object
| Constructor and Description |
|---|
OleAutoUtil() |
| Modifier and Type | Method and Description |
|---|---|
static OaIdl.SAFEARRAY.ByReference |
createVarArray(int size)
Creates a new the variant array.
|
static Variant.VARIANT |
SafeArrayGetElement(OaIdl.SAFEARRAY array,
long index)
Safe array get element.
|
static void |
SafeArrayPutElement(OaIdl.SAFEARRAY array,
long index,
Variant.VARIANT arg)
Safe array put element.
|
public static OaIdl.SAFEARRAY.ByReference createVarArray(int size)
size - the sizepublic static void SafeArrayPutElement(OaIdl.SAFEARRAY array, long index, Variant.VARIANT arg)
array - the arrayindex - the indexarg - the argpublic static Variant.VARIANT SafeArrayGetElement(OaIdl.SAFEARRAY array, long index)
array - the arrayindex - the index