ITableDataSink.AddFactory(ITableEntriesSnapshotFactory, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加指定的 ITableEntriesSnapshotFactory。
public void AddFactory (Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshotFactory newFactory, bool removeAllFactories = false);
abstract member AddFactory : Microsoft.VisualStudio.Shell.TableManager.ITableEntriesSnapshotFactory * bool -> unit
Public Sub AddFactory (newFactory As ITableEntriesSnapshotFactory, Optional removeAllFactories As Boolean = false)
参数
- newFactory
- ITableEntriesSnapshotFactory
新工厂。
- removeAllFactories
- Boolean
确定是否删除所有工厂。
注解
newFactory
必须可从任何线程调用。