다음을 통해 공유


CComSafeArray::GetType

Returns the type of data stored in the array.

VARTYPE GetType( ) const;

Return Value

Returns the type of data stored in the array, which could be any of the following types:

VARTYPE

Description

VT_I1

char

VT_I2

short

VT_I4

int

VT_I4

long

VT_I8

longlong

VT_UI1

byte

VT_UI2

ushort

VT_UI4

uint

VT_UI4

ulong

VT_UI8

ulonglong

VT_R4

float

VT_R8

double

VT_DECIMAL

decimal pointer

VT_VARIANT

variant pointer

VT_CY

Currency data type

Requirements

Header: atlsafe.h

See Also

Reference

CComSafeArray Class