ITableDataSink.ReplaceEntries 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除 oldEntries
並新增 newEntries
。
public:
void ReplaceEntries(System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Shell::TableManager::ITableEntry ^> ^ oldEntries, System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Shell::TableManager::ITableEntry ^> ^ newEntries);
public void ReplaceEntries (System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.TableManager.ITableEntry> oldEntries, System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.TableManager.ITableEntry> newEntries);
abstract member ReplaceEntries : System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.TableManager.ITableEntry> * System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.TableManager.ITableEntry> -> unit
Public Sub ReplaceEntries (oldEntries As IReadOnlyList(Of ITableEntry), newEntries As IReadOnlyList(Of ITableEntry))
參數
- oldEntries
- IReadOnlyList<ITableEntry>
- newEntries
- IReadOnlyList<ITableEntry>
備註
oldEntries
和 newEntries
必須從任何線程不可變/可呼叫。