Share via


ITableEntryHandle.TryGetFactory Method

Definition

Gets the ITableEntriesSnapshotFactory, version number and index associated with this ITableEntryHandle. The entry's snapshot will be returned if it is being held by the table control.

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

Parameters

factory
ITableEntriesSnapshotFactory

The factory.

versionNumber
Int32

The version number.

index
Int32

The index.

Returns

true if this was created from an ITableEntriesSnapshot that, in turn, was created by an ITableEntriesSnapshotFactory.

Applies to