Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method maps a symbol name to a symbol type.
HRESULT GetTypeByName( 
   LPCOLESTR     pszClassName,
   NAME_MATCH    nameMatch,
   IDebugField** ppField
);
int GetTypeByName(
   string          pszClassName, 
   NAME_MATCH      nameMatch, 
   out IDebugField ppField
);
Parameters
- pszClassName 
 [in] The symbol name.
- nameMatch 
 [in] Selects the type of match, for example, case-sensitive. A value from the NAME_MATCH enumeration.
- ppField 
 [out] Returns the symbol type as an IDebugField object.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
This method is a generic version of IDebugSymbolProvider::GetClassTypeByName.