Share via


ITableEntryHandle.TryGetSnapshot(ITableEntriesSnapshot, Int32) Method

Definition

Gets ITableEntriesSnapshot and index associated with this ITableEntryHandle.

public:
 bool TryGetSnapshot([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::TableManager::ITableEntriesSnapshot ^ % snapshot, [Runtime::InteropServices::Out] int % index);
public bool TryGetSnapshot (out Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshot snapshot, out int index);
abstract member TryGetSnapshot : ITableEntriesSnapshot * int -> bool
Public Function TryGetSnapshot (ByRef snapshot As ITableEntriesSnapshot, ByRef index As Integer) As Boolean

Parameters

snapshot
ITableEntriesSnapshot

The snapshot.

index
Int32

The index of the handle.

Returns

true if this was created from an ITableEntriesSnapshot and that snapshot has been pinned (PinSnapshot()).

Applies to