语言

DataProviderManager 类

定义

表示已注册的 DDEX 提供程序集。

public ref class DataProviderManager abstract : System::Collections::Generic::ICollection<Microsoft::VisualStudio::Data::DataProvider ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Data::DataProvider ^>
[System.Runtime.InteropServices.Guid("BCD55999-B818-4240-9528-3D96274477C9")]
public abstract class DataProviderManager : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Data.DataProvider>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Data.DataProvider>
[<System.Runtime.InteropServices.Guid("BCD55999-B818-4240-9528-3D96274477C9")>]
type DataProviderManager = class
    interface ICollection<DataProvider>
    interface seq<DataProvider>
    interface IEnumerable
Public MustInherit Class DataProviderManager
Implements ICollection(Of DataProvider), IEnumerable(Of DataProvider)
继承
DataProviderManager
属性
实现

构造函数

名称 说明
DataProviderManager()

类构造函数。

属性

名称 说明
Count

检索已注册的 DDEX 提供程序的数目。

方法

名称 说明
CopyTo(DataProvider[], Int32)

从指定的数组索引开始,将已注册的 DDEX 提供程序集复制到数组。

GetDataProvider(Guid)

使用指定的 GUID 检索 DDEX 提供程序。

GetDataProviders()

检索包含所有已注册的 DDEX 提供程序的数组。

GetDataProvidersImpl()

此方法仅供内部使用,不调用。

显式接口实现

名称 说明
ICollection<DataProvider>.Add(DataProvider)

表示已注册的 DDEX 提供程序集。

ICollection<DataProvider>.Clear()

表示已注册的 DDEX 提供程序集。

ICollection<DataProvider>.Contains(DataProvider)

表示已注册的 DDEX 提供程序集。

ICollection<DataProvider>.IsReadOnly

表示已注册的 DDEX 提供程序集。

ICollection<DataProvider>.Remove(DataProvider)

表示已注册的 DDEX 提供程序集。

IEnumerable.GetEnumerator()

检索用于枚举 DDEX 提供程序集合的枚举器。

IEnumerable<DataProvider>.GetEnumerator()

表示已注册的 DDEX 提供程序集。

扩展方法

名称 说明
EmptyIfNull<T>(IEnumerable<T>)

如果枚举不为 null,则返回此枚举。 如果为 null,则返回空枚举。

适用于