|
2 | 2 | title: "LocationType | Microsoft Docs"
|
3 | 3 | ms.date: "11/04/2016"
|
4 | 4 | ms.topic: "conceptual"
|
5 |
| -dev_langs: |
| 5 | +dev_langs: |
6 | 6 | - "C++"
|
7 |
| -helpviewer_keywords: |
| 7 | +helpviewer_keywords: |
8 | 8 | - "LocationType enumeration"
|
9 | 9 | ms.assetid: d3e1eedc-bfd3-4c91-881b-d69565138d0f
|
10 | 10 | author: "mikejo5000"
|
11 | 11 | ms.author: "mikejo"
|
12 | 12 | manager: jillfra
|
13 |
| -ms.workload: |
| 13 | +ms.workload: |
14 | 14 | - "multiple"
|
15 | 15 | ---
|
16 | 16 | # LocationType
|
17 |
| -Indicates the kind of location information contained in a symbol. |
18 |
| - |
19 |
| -## Syntax |
20 |
| - |
21 |
| -```C++ |
22 |
| -enum LocationType { |
23 |
| - LocIsNull, |
24 |
| - LocIsStatic, |
25 |
| - LocIsTLS, |
26 |
| - LocIsRegRel, |
27 |
| - LocIsThisRel, |
28 |
| - LocIsEnregistered, |
29 |
| - LocIsBitField, |
30 |
| - LocIsSlot, |
31 |
| - LocIsIlRel, |
32 |
| - LocInMetaData, |
33 |
| - LocIsConstant, |
34 |
| - LocTypeMax |
35 |
| -}; |
36 |
| -``` |
37 |
| - |
38 |
| -## Elements |
39 |
| - `LocIsNull` |
40 |
| - Location information is unavailable. |
41 |
| - |
42 |
| - `LocIsStatic` |
43 |
| - Location is static. |
44 |
| - |
45 |
| - `LocIsTLS` |
46 |
| - Location is in thread local storage. |
47 |
| - |
48 |
| - `LocIsRegRel` |
49 |
| - Location is register-relative. |
50 |
| - |
51 |
| - `LocIsThisRel` |
52 |
| - Location is `this`-relative. |
53 |
| - |
54 |
| - `LocIsEnregistered` |
55 |
| - Location is in a register. |
56 |
| - |
57 |
| - `LocIsBitField` |
58 |
| - Location is in a bit field. |
59 |
| - |
60 |
| - `LocIsSlot` |
61 |
| - Location is a Microsoft Intermediate Language (MSIL) slot. |
62 |
| - |
63 |
| - `LocIsIlRel` |
64 |
| - Location is MSIL-relative. |
65 |
| - |
66 |
| - `LocInMetaData` |
67 |
| - Location is in metadata. |
68 |
| - |
69 |
| - `LocIsConstant` |
70 |
| - Location is in a constant value. |
71 |
| - |
72 |
| - `LocTypeMax` |
73 |
| - The number of location types in this enumeration. |
74 |
| - |
75 |
| -## Remarks |
76 |
| - The properties available to the [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md) interface depend on the symbol's location within the image file. For more information, see [Symbol Locations](../../debugger/debug-interface-access/symbol-locations.md). |
77 |
| - |
78 |
| - The values in this enumeration are returned by a call to the [IDiaSymbol::get_locationType](../../debugger/debug-interface-access/idiasymbol-get-locationtype.md) method. |
79 |
| - |
80 |
| -## Requirements |
81 |
| - Header: cvconst.h |
82 |
| - |
83 |
| -## See Also |
84 |
| - [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md) |
85 |
| - [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md) |
86 |
| - [IDiaSymbol::get_locationType](../../debugger/debug-interface-access/idiasymbol-get-locationtype.md) |
87 |
| - [Symbol Locations](../../debugger/debug-interface-access/symbol-locations.md) |
| 17 | +Indicates the kind of location information contained in a symbol. |
| 18 | + |
| 19 | +## Syntax |
| 20 | + |
| 21 | +```C++ |
| 22 | +enum LocationType { |
| 23 | + LocIsNull, |
| 24 | + LocIsStatic, |
| 25 | + LocIsTLS, |
| 26 | + LocIsRegRel, |
| 27 | + LocIsThisRel, |
| 28 | + LocIsEnregistered, |
| 29 | + LocIsBitField, |
| 30 | + LocIsSlot, |
| 31 | + LocIsIlRel, |
| 32 | + LocInMetaData, |
| 33 | + LocIsConstant, |
| 34 | + LocTypeMax |
| 35 | +}; |
| 36 | +``` |
| 37 | + |
| 38 | +## Elements |
| 39 | +`LocIsNull` |
| 40 | +Location information is unavailable. |
| 41 | + |
| 42 | +`LocIsStatic` |
| 43 | +Location is static. |
| 44 | + |
| 45 | +`LocIsTLS` |
| 46 | +Location is in thread local storage. |
| 47 | + |
| 48 | +`LocIsRegRel` |
| 49 | +Location is register-relative. |
| 50 | + |
| 51 | +`LocIsThisRel` |
| 52 | +Location is `this`-relative. |
| 53 | + |
| 54 | +`LocIsEnregistered` |
| 55 | +Location is in a register. |
| 56 | + |
| 57 | +`LocIsBitField` |
| 58 | +Location is in a bit field. |
| 59 | + |
| 60 | +`LocIsSlot` |
| 61 | +Location is a Microsoft Intermediate Language (MSIL) slot. |
| 62 | + |
| 63 | +`LocIsIlRel` |
| 64 | +Location is MSIL-relative. |
| 65 | + |
| 66 | +`LocInMetaData` |
| 67 | +Location is in metadata. |
| 68 | + |
| 69 | +`LocIsConstant` |
| 70 | +Location is in a constant value. |
| 71 | + |
| 72 | +`LocTypeMax` |
| 73 | +The number of location types in this enumeration. |
| 74 | + |
| 75 | +## Remarks |
| 76 | +The properties available to the [IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md) interface depend on the symbol's location within the image file. For more information, see [Symbol Locations](../../debugger/debug-interface-access/symbol-locations.md). |
| 77 | + |
| 78 | +The values in this enumeration are returned by a call to the [IDiaSymbol::get_locationType](../../debugger/debug-interface-access/idiasymbol-get-locationtype.md) method. |
| 79 | + |
| 80 | +## Requirements |
| 81 | +Header: cvconst.h |
| 82 | + |
| 83 | +## See Also |
| 84 | +[Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md) |
| 85 | +[IDiaSymbol](../../debugger/debug-interface-access/idiasymbol.md) |
| 86 | +[IDiaSymbol::get_locationType](../../debugger/debug-interface-access/idiasymbol-get-locationtype.md) |
| 87 | +[Symbol Locations](../../debugger/debug-interface-access/symbol-locations.md) |
0 commit comments