ITableEntryHandle.TryGetFactory 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与此 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创建。