Share via


DataProviderManager Class

Represents the set of registered DDEX providers.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataProviderManager

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
<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

The DataProviderManager type exposes the following members.

Constructors

  Name Description
Protected method DataProviderManager Class constructor.

Top

Properties

  Name Description
Public property Count Retrieves the number of registered DDEX providers.

Top

Methods

  Name Description
Public method CopyTo Copies the set of registered DDEX providers to an array, starting at the specified array index.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDataProvider Retrieves a DDEX provider using the specified GUID.
Public method GetDataProviders Retrieves an array containing all registered DDEX providers.
Protected method GetDataProvidersImpl This method is for internal use only and is not to be called.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection<DataProvider>.Add Adds a new DDEX provider to the collection of available DDEX providers.
Explicit interface implemetationPrivate method ICollection<DataProvider>.Clear Clears the collection of DDEX providers.
Explicit interface implemetationPrivate method ICollection<DataProvider>.Contains Tests whether a given collection contains a specified DDEX provider.
Explicit interface implemetationPrivate method IEnumerable<DataProvider>.GetEnumerator Retrieves an enumerator with which to enumerate the DDEX provider collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Retrieves an enumerator with which to enumerate the DDEX provider collection.
Explicit interface implemetationPrivate property ICollection<DataProvider>.IsReadOnly Tests whether the collection of DDEX providers is read only.
Explicit interface implemetationPrivate method ICollection<DataProvider>.Remove Removes a DDEX provider from the set of providers.

Top

Remarks

This DataProviderManager class provides an object model around the DDEX provider registration information in the registry. It is the initial entry point for all components that intend to consume functionality implemented by a DDEX provider.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data Namespace

ICollection

IEnumerable