Bahasa

ITableEntryHandle.TryGetFactory Metode

Definisi

Mendapatkan nomor versi , dan indeks yang ITableEntriesSnapshotFactoryterkait dengan ini ITableEntryHandle. Rekam jepret entri akan dikembalikan jika dipegang oleh kontrol tabel.

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

Parameter

factory
ITableEntriesSnapshotFactory

Pabriknya.

versionNumber
Int32

nomor versi.

index
Int32

Indeks.

Mengembalikan

true jika ini dibuat dari ITableEntriesSnapshot yang, pada gilirannya, dibuat oleh ITableEntriesSnapshotFactory.

Berlaku untuk