DataProviderManager 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示已註冊的 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,則傳回空列舉。 |