BasicType

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Specifies the symbol's basic type.

Syntax

enum BasicType {   
   btNoType   = 0,  
   btVoid     = 1,  
   btChar     = 2,  
   btWChar    = 3,  
   btInt      = 6,  
   btUInt     = 7,  
   btFloat    = 8,  
   btBCD      = 9,  
   btBool     = 10,  
   btLong     = 13,  
   btULong    = 14,  
   btCurrency = 25,  
   btDate     = 26,  
   btVariant  = 27,  
   btComplex  = 28,  
   btBit      = 29,  
   btBSTR     = 30,  
   btHresult  = 31  
};  

Elements

btNoType
No basic type is specified.

btVoid
Basic type is a void.

btChar
Basic type is a char (C/C++ type).

btWChar
Basic type is a wide (Unicode) character (WCHAR).

btInt
Basic type is signed int (C/C++ type).

btUInt
Basic type is unsigned int (C/C++ type).

btFloat
Basic type is a floating-point number (FLOAT).

btBCD
Basic type is a binary-coded decimal (BCD).

btBool
Basic type is a Boolean (BOOL).

btLong
Basic type is a long int (C/C++ type).

btULong
Basic type is an unsigned long int (C/C++ type).

btCurrency
Basic type is currency.

btDate
Basic type is date/time (DATE).

btVariant
Basic type is a variable type structure (VARIANT).

btComplex
Basic type is a complex number.

btBit
Basic type is a bit.

btBSTR
Basic type is a basic or binary string (BSTR).

btHresult
Basic type is an HRESULT.

Remarks

The values in this enumeration are returned by the IDiaSymbol::get_baseType method.

Requirements

Header: cvconst.h

See Also

Enumerations and Structures
IDiaSymbol::get_baseType
IDiaSymbol::get_length