Share via


ITableDataSink.ReplaceFactory Method

Definition

Remove oldFactory and add newFactory.

public:
 void ReplaceFactory(Microsoft::VisualStudio::Shell::TableManager::ITableEntriesSnapshotFactory ^ oldFactory, Microsoft::VisualStudio::Shell::TableManager::ITableEntriesSnapshotFactory ^ newFactory);
public void ReplaceFactory (Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshotFactory oldFactory, Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshotFactory newFactory);
abstract member ReplaceFactory : Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshotFactory * Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshotFactory -> unit
Public Sub ReplaceFactory (oldFactory As ITableEntriesSnapshotFactory, newFactory As ITableEntriesSnapshotFactory)

Parameters

oldFactory
ITableEntriesSnapshotFactory

The old factory.

newFactory
ITableEntriesSnapshotFactory

The new factory.

Remarks

oldFactory and newFactory must be callable from any thread.

Applies to