Condividi tramite


ITableDataSink.AddEntries(IReadOnlyList<ITableEntry>, Boolean) Metodo

Definizione

Aggiungere gli oggetti specificati ITableEntry.

public void AddEntries (System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.TableManager.ITableEntry> newEntries, bool removeAllEntries = false);
abstract member AddEntries : System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.TableManager.ITableEntry> * bool -> unit
Public Sub AddEntries (newEntries As IReadOnlyList(Of ITableEntry), Optional removeAllEntries As Boolean = false)

Parametri

newEntries
IReadOnlyList<ITableEntry>

nuove voci da aggiungere.

removeAllEntries
Boolean

se true, rimuovere tutte le voci preesistenti.

Commenti

newEntries deve essere non modificabile/chiamabile da qualsiasi thread.

In generale, qualsiasi chiamata a un ITableDataSink non avrà effetto immediato. I consumer possono eseguire modifiche in batch ed elaborarle, dopo un ritardo, in un thread in background.

Si applica a