ITableEntriesSnapshot Interface

Visual Studio 2015
 

An abstraction for a fixed set of ITableEntry objects.

Namespace:   Microsoft.VisualStudio.Shell.TableManager
Assembly:  Microsoft.VisualStudio.Shell.Immutable.14.0 (in Microsoft.VisualStudio.Shell.Immutable.14.0.dll)

public interface class ITableEntriesSnapshot : IDisposable

NameDescription
System_CAPS_pubpropertyCount

Number of entries in this snapshot.

System_CAPS_pubpropertyVersionNumber

Get the version number associated with the snapshot.

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodIndexOf(Int32, ITableEntriesSnapshot^)

Returns the index of the entry at currentIndex in this snapshot in a later snapshot newSnapshot).

System_CAPS_pubmethodStartCaching()

Hint to the snapshot that there will be a lot of access to the snapshot's data.

System_CAPS_pubmethodStopCaching()

Hint to the snapshot that the snapshot's entries will no longer be accessed.

System_CAPS_pubmethodTryGetValue(Int32, String^, Object^)

Get the data for the columnName of the entry at index.

A ITableEntriesSnapshot and its virtual entries must be immutable and callable from any thread. The one exception is that the snapshot's Dispose() method will be called when the snapshot is no longer being used (at which point there should not be any calls to get data from the snapshot or its entries).

Return to top
Show: