DataProviderManager 类

表示一组注册的DDEX提供程序。

继承层次结构

System.Object
  Microsoft.VisualStudio.Data.DataProviderManager

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
<GuidAttribute("BCD55999-B818-4240-9528-3D96274477C9")> _
Public MustInherit Class DataProviderManager _
    Implements ICollection(Of DataProvider), IEnumerable(Of DataProvider),  _
    IEnumerable
[GuidAttribute("BCD55999-B818-4240-9528-3D96274477C9")]
public abstract class DataProviderManager : ICollection<DataProvider>, 
    IEnumerable<DataProvider>, IEnumerable
[GuidAttribute(L"BCD55999-B818-4240-9528-3D96274477C9")]
public ref class DataProviderManager abstract : ICollection<DataProvider^>, 
    IEnumerable<DataProvider^>, IEnumerable
[<AbstractClass>]
[<GuidAttribute("BCD55999-B818-4240-9528-3D96274477C9")>]
type DataProviderManager =  
    class
        interface ICollection<DataProvider>
        interface IEnumerable<DataProvider>
        interface IEnumerable
    end
public abstract class DataProviderManager implements ICollection<DataProvider>, IEnumerable<DataProvider>, IEnumerable

DataProviderManager 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 DataProviderManager 选件类构造函数。

页首

属性

  名称 说明
公共属性 Count 检索已注册的DDEX提供程序的数目。

页首

方法

  名称 说明
公共方法 CopyTo 复制设置注册的DDEX提供程序将数组,开始在指定的数组索引。
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetDataProvider 检索使用指定的GUID的DDEX提供程序。
公共方法 GetDataProviders 检索包含任何注册的DDEX提供程序的数组。
受保护的方法 GetDataProvidersImpl 此方法将仅供内部使用而不是调用。
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ICollection<DataProvider>.Add 添加一个新DDEX提供程序为可用DDEX提供程序的集合。
显式接口实现私有方法 ICollection<DataProvider>.Clear 清除集合DDEX提供程序。
显式接口实现私有方法 ICollection<DataProvider>.Contains 测试给定的集合是否包含一个指定的DDEX提供程序。
显式接口实现私有方法 IEnumerable<DataProvider>.GetEnumerator 检索枚举DDEX提供程序集合的枚举数。
显式接口实现私有方法 IEnumerable.GetEnumerator 检索枚举DDEX提供程序集合的枚举数。
显式接口实现私有属性 ICollection<DataProvider>.IsReadOnly 测试DDEX提供程序的集合是否是只读文件。
显式接口实现私有方法 ICollection<DataProvider>.Remove 从中移除DDEX提供程序设置提供程序。

页首

备注

DataProviderManager 选件类在注册表中DDEX提供程序注册信息的提供对象模型。它是初始为要使用DDEX提供程序实现的功能的所有组件入口点。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.Data 命名空间

ICollection

IEnumerable