VARIANT class Null safety Struct

The VARIANT type is used in Win32 to represent a dynamic type. It is represented as a struct containing a union of the types that could be stored.

VARIANTs must be initialized with VariantInit before their use.

Inheritance

Constructors

VARIANT()

Properties

boolVal bool
read / write
bstrVal Pointer<Utf16>
read / write
bVal int
read / write
byref Pointer<NativeType>
read / write
cVal int
read / write
cyVal int
read / write
date double
read / write
dblVal double
read / write
fltVal double
read / write
hashCode int
The hash code for this object.
read-only, inherited
intVal int
read / write
iVal int
read / write
llVal int
read / write
lscodeVal int
write-only
lVal int
read / write
parray Pointer<NativeType>
read / write
pboolVal Pointer<Int16>
read / write
pbstrVal Pointer<Pointer<Utf16>>
read / write
pbVal Pointer<Uint8>
read / write
pcVal Pointer<Int8>
read / write
pcyVal Pointer<NativeType>
read / write
pdate Pointer<Double>
read / write
pdblVal Pointer<Double>
read / write
pdecVal Pointer<DECIMAL>
read / write
pdispVal IDispatch
read / write
pfltVal Pointer<Float>
read / write
pintVal Pointer<Int32>
read / write
piVal Pointer<Int16>
read / write
pllVal Pointer<Int64>
read / write
plVal Pointer<Int32>
read / write
pparray Pointer<Pointer<NativeType>>
read / write
ppdispVal Pointer<Pointer<COMObject>>
read / write
ppunkVal Pointer<Pointer<COMObject>>
read / write
pRecInfo Pointer<COMObject>
read / write
pscode Pointer<Int32>
read / write
puintVal Pointer<Uint32>
read / write
puiVal Pointer<Uint16>
read / write
pullVal Pointer<Uint64>
read / write
pulVal Pointer<Uint32>
read / write
punkVal IUnknown
read / write
pvarVal Pointer<VARIANT>
read / write
pvRecord Pointer<NativeType>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scode int
read-only
uintVal int
read / write
uiVal int
read / write
ullVal BigInt
read / write
ulVal int
read / write
vt int
read / write
wReserved1 int
read / write
wReserved2 int
read / write
wReserved3 int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited