LocationType

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

Indicates the kind of location information contained in a symbol.

Syntax

enum LocationType {   
   LocIsNull,  
   LocIsStatic,  
   LocIsTLS,  
   LocIsRegRel,  
   LocIsThisRel,  
   LocIsEnregistered,  
   LocIsBitField,  
   LocIsSlot,  
   LocIsIlRel,  
   LocInMetaData,  
   LocIsConstant,  
   LocTypeMax  
};  

Elements

LocIsNull
Location information is unavailable.

LocIsStatic
Location is static.

LocIsTLS
Location is in thread local storage.

LocIsRegRel
Location is register-relative.

LocIsThisRel
Location is this-relative.

LocIsEnregistered
Location is in a register.

LocIsBitField
Location is in a bit field.

LocIsSlot
Location is a Microsoft Intermediate Language (MSIL) slot.

LocIsIlRel
Location is MSIL-relative.

LocInMetaData
Location is in metadata.

LocIsConstant
Location is in a constant value.

LocTypeMax
The number of location types in this enumeration.

Remarks

The properties available to the IDiaSymbol interface depend on the symbol's location within the image file. For more information, see Symbol Locations.

The values in this enumeration are returned by a call to the IDiaSymbol::get_locationType method.

Requirements

Header: cvconst.h

See Also

Enumerations and Structures
IDiaSymbol
IDiaSymbol::get_locationType
Symbol Locations