IDebugSymbolGroup2::RemoveSymbolByIndex method (dbgeng.h)

The RemoveSymbolByIndex method removes the specified symbol from a symbol group.

Syntax

HRESULT RemoveSymbolByIndex(
  [in] ULONG Index
);

Parameters

[in] Index

The index of the symbol to remove. The index of a symbol is an identification number. The index ranges from zero through the number of symbols in the symbol group minus one.

Return value

RemoveSymbolByIndex might return one of the following values:

Return code Description
S_OK
The method was successful.
 

This method can also return error values. For more information, see Return Values.

Remarks

When a symbol is removed, the indexes of the symbols that remain in the symbol group might change.

For more information about symbol groups, see Scopes and Symbol Groups.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

AddSymbol

GetNumberSymbols

IDebugSymbolGroup

IDebugSymbolGroup2

RemoveSymbolByName