public enum VarType extends Enum<VarType> implements ComEnum
Enum Constant and Description |
---|
VT_BOOL |
VT_BSTR |
VT_CARRAY |
VT_CY |
VT_DATE |
VT_DECIMAL |
VT_DISPATCH |
VT_ERROR |
VT_HRESULT |
VT_I1 |
VT_I2 |
VT_I4 |
VT_I8 |
VT_INT |
VT_LPSTR |
VT_LPWSTR |
VT_PTR |
VT_R4 |
VT_R8 |
VT_SAFEARRAY |
VT_UI1 |
VT_UI2 |
VT_UI4 |
VT_UI8 |
VT_UINT |
VT_UNKNOWN |
VT_USERDEFINED |
VT_VARIANT |
VT_VOID |
Modifier and Type | Method and Description |
---|---|
int |
comEnumValue()
The integer assigned to this constant.
|
static VarType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VarType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VarType VT_I2
public static final VarType VT_I4
public static final VarType VT_R4
public static final VarType VT_R8
public static final VarType VT_CY
public static final VarType VT_DATE
public static final VarType VT_BSTR
public static final VarType VT_DISPATCH
public static final VarType VT_ERROR
public static final VarType VT_BOOL
public static final VarType VT_VARIANT
public static final VarType VT_UNKNOWN
public static final VarType VT_DECIMAL
public static final VarType VT_I1
public static final VarType VT_UI1
public static final VarType VT_UI2
public static final VarType VT_UI4
public static final VarType VT_I8
public static final VarType VT_UI8
public static final VarType VT_INT
public static final VarType VT_UINT
public static final VarType VT_VOID
public static final VarType VT_HRESULT
public static final VarType VT_PTR
public static final VarType VT_SAFEARRAY
public static final VarType VT_CARRAY
public static final VarType VT_USERDEFINED
public static final VarType VT_LPSTR
public static final VarType VT_LPWSTR
public static VarType[] values()
for (VarType c : VarType.values()) System.out.println(c);
public static VarType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int comEnumValue()
ComEnum
comEnumValue
in interface ComEnum
Copyright © 2014. All rights reserved.