共用方式為


VARIANT Struct

Definition

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)

Applies to