VARIANT Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Variant is the basic COM type for late-binding. It can contain any other COM data type. This type definition precisely matches the unmanaged data layout so that the struct can be passed to and from COM calls.
public value class VARIANT
public struct VARIANT
type VARIANT = struct
Public Structure VARIANT
- Inheritance
-
VARIANT
Properties
bool | |
bstrVal | |
ch | |
cy | |
date | |
decimal | |
error | |
i1 | |
i2 | |
i4 | |
i8 | |
int | |
pdispVal | |
punkVal | |
r4 | |
r8 | |
ui1 | |
ui2 | |
ui4 | |
ui8 | |
uint | |
vt |
Methods
ToVariant(IntPtr) |