Share via


NameSearchOptions

Specifies the search options for symbol and file names.

enum NameSearchOptions { 
   nsNone,
   nsfCaseSensitive     = 0x1,
   nsfCaseInsensitive   = 0x2,
   nsfFNameExt          = 0x4,
   nsfRegularExpression = 0x8,
   nsfUndecoratedName   = 0x10,

// For backward compabibility:
   nsCaseSensitive           = nsfCaseSensitive,
   nsCaseInsensitive         = nsfCaseInsensitive,
   nsFNameExt = nsfFNameExt,
   nsRegularExpression       = nsfRegularExpression | nsfCaseSensitive,
   nsCaseInRegularExpression = nsfRegularExpression | nsfCaseInsensitive
};

Elements

  • nsNone
    No options are specified.

  • nsfCaseSensitive
    Applies a case-sensitive name match.

  • nsfCaseInsensitive
    Applies a case-insensitive name match.

  • nsFNameExt
    Treats names as paths and applies a filename.ext name match.

  • nsfRegularExpression
    Applies a case-sensitive name match using asterisks (*) and question marks (?) as wildcards.

  • nsfUndecoratedName
    Applies only to symbols that have both undecorated and decorated names.

Remarks

The values from this enumeration are passed to the following methods:

Requirements

Header: dia2.h

See Also

Reference

IDiaSession::findChildren

IDiaSession::findFile

IDiaSymbol::findChildren

Other Resources

Enumerations and Structures