Delen via


ISymUnmanagedReader::ReplaceSymbolStore Method

Replaces the existing symbol store with a delta symbol store. This method is similar to the UpdateSymbolStore method, except that the given delta acts as a complete replacement rather than an update.

Note

You need specify only one of the filename or pIStream parameters, not both. If filename is specified, the symbol store will be updated with the symbols in that file. If pIStream is specified, the store will be updated with the data from the IStream.

HRESULT ReplaceSymbolStore (
    [in] const WCHAR *filename,
    [in] IStream *pIStream);

Parameters

  • filename
    [in] The name of the file containing the symbol store.

  • pIStream
    [in] The file stream, used as an alternative to the filename parameter.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedReader Interface