ITableEntryHandle.TryGetFactory 方法

定义

获取与此 ITableEntriesSnapshotFactoryITableEntryHandle关联的 、版本号和索引。 如果该条目的快照由表控件持有,则会返回该条目。

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

参数

factory
ITableEntriesSnapshotFactory

工厂。

versionNumber
Int32

版本号。

index
Int32

索引。

返回

如果这是从 ITableEntriesSnapshot 中创建的 ,则为 true,而该属性又由 ITableEntriesSnapshotFactory创建。

适用于