Redigera

Dela via


SymReader.ReplaceSymbolStore(String, IntPtr) Method

Definition

Replaces the existing symbol store with a delta symbol store.

public:
 void ReplaceSymbolStore(System::String ^ fileName, IntPtr stream);
public:
 virtual void ReplaceSymbolStore(System::String ^ fileName, IntPtr stream);
public void ReplaceSymbolStore (string fileName, IntPtr stream);
public virtual void ReplaceSymbolStore (string fileName, IntPtr stream);
member this.ReplaceSymbolStore : string * nativeint -> unit
abstract member ReplaceSymbolStore : string * nativeint -> unit
override this.ReplaceSymbolStore : string * nativeint -> unit
Public Sub ReplaceSymbolStore (fileName As String, stream As IntPtr)
Public Overridable Sub ReplaceSymbolStore (fileName As String, stream As IntPtr)

Parameters

fileName
String

The name of the file containing the symbol store, or null if using an in-memory store.

stream
IntPtr

nativeint

The pointer to the input stream for the symbol store, or Zero if using an on-disk store.

Remarks

The ReplaceSymbolStore is much like the UpdateSymbolStore method, but the given delta acts as a complete replacement rather than an update.

Only one of the parameters, fileName or stream, needs to be specified. If fileName is specified, the symbol store is updated with the symbols in that file. If stream is specified, the symbol store is updated with the data from the IStream .

Applies to