|
2 | 2 | title: "NameSearchOptions | 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 | - "NameSearchOptions enumeration"
|
9 | 9 | ms.assetid: 67dfbede-2678-47df-b664-5c49841d0b9b
|
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 | # NameSearchOptions
|
17 |
| -Specifies the search options for symbol and file names. |
18 |
| - |
19 |
| -## Syntax |
20 |
| - |
21 |
| -```C++ |
22 |
| -enum NameSearchOptions { |
23 |
| - nsNone, |
24 |
| - nsfCaseSensitive = 0x1, |
25 |
| - nsfCaseInsensitive = 0x2, |
26 |
| - nsfFNameExt = 0x4, |
27 |
| - nsfRegularExpression = 0x8, |
28 |
| - nsfUndecoratedName = 0x10, |
29 |
| - |
30 |
| -// For backward compatibility: |
31 |
| - nsCaseSensitive = nsfCaseSensitive, |
32 |
| - nsCaseInsensitive = nsfCaseInsensitive, |
33 |
| - nsFNameExt = nsfCaseInsensitive | nsfFNameExt, |
34 |
| - nsRegularExpression = nsfRegularExpression | nsfCaseSensitive, |
35 |
| - nsCaseInRegularExpression = nsfRegularExpression | nsfCaseInsensitive |
36 |
| -}; |
37 |
| -``` |
38 |
| - |
39 |
| -## Elements |
40 |
| - `nsNone` |
41 |
| - No options are specified. |
42 |
| - |
43 |
| - `nsfCaseSensitive` |
44 |
| - Applies a case-sensitive name match. |
45 |
| - |
46 |
| - `nsfCaseInsensitive` |
47 |
| - Applies a case-insensitive name match. |
48 |
| - |
49 |
| - `nsfFNameExt` |
50 |
| - Treats names as paths and applies a filename.ext name match. |
51 |
| - |
52 |
| - `nsfRegularExpression` |
53 |
| - Applies a case-sensitive name match using asterisks (*) and question marks (?) as wildcards. |
54 |
| - |
55 |
| - `nsfUndecoratedName` |
56 |
| - Applies only to symbols that have both undecorated and decorated names. |
57 |
| - |
58 |
| -## Remarks |
59 |
| - The values from this enumeration are passed to the following methods: |
60 |
| - |
61 |
| -- [IDiaSession::findChildren](../../debugger/debug-interface-access/idiasession-findchildren.md) |
62 |
| - |
63 |
| -- [IDiaSession::findFile](../../debugger/debug-interface-access/idiasession-findfile.md) |
64 |
| - |
65 |
| -- [IDiaSymbol::findChildren](../../debugger/debug-interface-access/idiasymbol-findchildren.md) |
66 |
| - |
67 |
| -## Requirements |
68 |
| - Header: dia2.h |
69 |
| - |
70 |
| -## See Also |
71 |
| - [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md) |
72 |
| - [IDiaSession::findChildren](../../debugger/debug-interface-access/idiasession-findchildren.md) |
73 |
| - [IDiaSession::findFile](../../debugger/debug-interface-access/idiasession-findfile.md) |
74 |
| - [IDiaSymbol::findChildren](../../debugger/debug-interface-access/idiasymbol-findchildren.md) |
| 17 | +Specifies the search options for symbol and file names. |
| 18 | + |
| 19 | +## Syntax |
| 20 | + |
| 21 | +```C++ |
| 22 | +enum NameSearchOptions { |
| 23 | + nsNone, |
| 24 | + nsfCaseSensitive = 0x1, |
| 25 | + nsfCaseInsensitive = 0x2, |
| 26 | + nsfFNameExt = 0x4, |
| 27 | + nsfRegularExpression = 0x8, |
| 28 | + nsfUndecoratedName = 0x10, |
| 29 | + |
| 30 | +// For backward compatibility: |
| 31 | + nsCaseSensitive = nsfCaseSensitive, |
| 32 | + nsCaseInsensitive = nsfCaseInsensitive, |
| 33 | + nsFNameExt = nsfCaseInsensitive | nsfFNameExt, |
| 34 | + nsRegularExpression = nsfRegularExpression | nsfCaseSensitive, |
| 35 | + nsCaseInRegularExpression = nsfRegularExpression | nsfCaseInsensitive |
| 36 | +}; |
| 37 | +``` |
| 38 | + |
| 39 | +## Elements |
| 40 | +`nsNone` |
| 41 | +No options are specified. |
| 42 | + |
| 43 | +`nsfCaseSensitive` |
| 44 | +Applies a case-sensitive name match. |
| 45 | + |
| 46 | +`nsfCaseInsensitive` |
| 47 | +Applies a case-insensitive name match. |
| 48 | + |
| 49 | +`nsfFNameExt` |
| 50 | +Treats names as paths and applies a filename.ext name match. |
| 51 | + |
| 52 | +`nsfRegularExpression` |
| 53 | +Applies a case-sensitive name match using asterisks (*) and question marks (?) as wildcards. |
| 54 | + |
| 55 | +`nsfUndecoratedName` |
| 56 | +Applies only to symbols that have both undecorated and decorated names. |
| 57 | + |
| 58 | +## Remarks |
| 59 | +The values from this enumeration are passed to the following methods: |
| 60 | + |
| 61 | +- [IDiaSession::findChildren](../../debugger/debug-interface-access/idiasession-findchildren.md) |
| 62 | + |
| 63 | +- [IDiaSession::findFile](../../debugger/debug-interface-access/idiasession-findfile.md) |
| 64 | + |
| 65 | +- [IDiaSymbol::findChildren](../../debugger/debug-interface-access/idiasymbol-findchildren.md) |
| 66 | + |
| 67 | +## Requirements |
| 68 | +Header: dia2.h |
| 69 | + |
| 70 | +## See Also |
| 71 | +[Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md) |
| 72 | +[IDiaSession::findChildren](../../debugger/debug-interface-access/idiasession-findchildren.md) |
| 73 | +[IDiaSession::findFile](../../debugger/debug-interface-access/idiasession-findfile.md) |
| 74 | +[IDiaSymbol::findChildren](../../debugger/debug-interface-access/idiasymbol-findchildren.md) |
0 commit comments