共用方式為


DataProviderManager 類別

表示一組註冊的 DDEX 提供者。

繼承階層架構

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 的淺層複製 (Shallow Copy) 。 (繼承自 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 提供者實作功能的所有元件的初始進入點。

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Data 命名空間

ICollection

IEnumerable