次の方法で共有


ITableDataSink.ReplaceSnapshot Method

Definition

Remove oldSnapshot and add newSnapshot.

public:
 void ReplaceSnapshot(Microsoft::VisualStudio::Shell::TableManager::ITableEntriesSnapshot ^ oldSnapshot, Microsoft::VisualStudio::Shell::TableManager::ITableEntriesSnapshot ^ newSnapshot);
public void ReplaceSnapshot (Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot oldSnapshot, Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot newSnapshot);
abstract member ReplaceSnapshot : Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot * Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot -> unit
Public Sub ReplaceSnapshot (oldSnapshot As ITableEntriesSnapshot, newSnapshot As ITableEntriesSnapshot)

Parameters

oldSnapshot
ITableEntriesSnapshot

The old snapshot.

newSnapshot
ITableEntriesSnapshot

The new snapshot.

Remarks

oldSnapshot and newSnapshot must be immutable/callable from any thread.

Applies to