ITableManager.RemoveSource(ITableDataSource) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
source从与此表管理器关联的源列表中删除。
public:
bool RemoveSource(Microsoft::VisualStudio::Shell::TableManager::ITableDataSource ^ source);
public:
bool RemoveSource(Microsoft::VisualStudio::Shell::TableManager::ITableDataSource ^ source);
bool RemoveSource(Microsoft::VisualStudio::Shell::TableManager::ITableDataSource const & source);
public bool RemoveSource (Microsoft.VisualStudio.Shell.TableManager.ITableDataSource source);
abstract member RemoveSource : Microsoft.VisualStudio.Shell.TableManager.ITableDataSource -> bool
Public Function RemoveSource (source As ITableDataSource) As Boolean
参数
- source
- ITableDataSource
源。
返回
如果 source 从表管理器中删除了,则为 true。 如果未 (,则返回 false,因为它不是表管理器的源) 之一。
注解
删除源可能会导致 source unnsubscribe (例如,在 RemoveSource () 返回) 之前,订阅 obkect 上的调用 Dispose () ) 立即 (。