DataObjectEnumerator Class

Provides the ability to enumerate data objects.

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

Syntax

Public MustInherit Class DataObjectEnumerator _
    Inherits ObjectWithSite

Dim instance As DataObjectEnumerator
public abstract class DataObjectEnumerator : ObjectWithSite
public ref class DataObjectEnumerator abstract : public ObjectWithSite
public abstract class DataObjectEnumerator extends ObjectWithSite

Remarks

Use this class in cases where a data provider must implement a custom enumeration mechanism, typically when no base enumeration mechanism (such as ADO.NET object enumerator) exists.

Classes derived from DataObjectEnumerator should implement the EnumerateObjects method using the protected Connection property to the level of support expected by the particular implementation. Any client of this class is expected to understand the format of parameters passed to the implementation.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.ObjectWithSite
    Microsoft.VisualStudio.Data.DataObjectEnumerator
      Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetObjectEnumerator

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

DataObjectEnumerator Members

Microsoft.VisualStudio.Data Namespace