Compartir a través de


DataViewManager Class

Represents the collection of data view hierarchies currently active in the Visual Studio Server Explorer and provides methods and properties with which to manage these data views.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataViewManager

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

Syntax

'Declaration
<GuidAttribute("AB5F7D50-A307-46e6-A20C-ADDBF34C6771")> _
Public MustInherit Class DataViewManager _
    Implements ICollection, IEnumerable
[GuidAttribute("AB5F7D50-A307-46e6-A20C-ADDBF34C6771")]
public abstract class DataViewManager : ICollection, 
    IEnumerable
[GuidAttribute(L"AB5F7D50-A307-46e6-A20C-ADDBF34C6771")]
public ref class DataViewManager abstract : ICollection, 
    IEnumerable
[<AbstractClass>]
[<GuidAttribute("AB5F7D50-A307-46e6-A20C-ADDBF34C6771")>]
type DataViewManager =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public abstract class DataViewManager implements ICollection, IEnumerable

The DataViewManager type exposes the following members.

Constructors

  Name Description
Protected method DataViewManager Class constructor. Instantiates a new instance of the DataViewManager class.

Top

Properties

  Name Description
Public property Count Retrieves the number of data view hierarchies in the current collection.
Protected property DataViews Retrieves an array list of current data views.

Top

Methods

  Name Description
Public method CopyTo Copies the set of data view hierarchies in the collection to an array at the specified starting index.
Protected method CreateDataViewHierarchy Creates a new data view hierarchy object instance.
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 GetDataViewHierarchy(Guid, String, Boolean) Retrieves a data view hierarchy with the specified DDEX provider and connection information.
Public method GetDataViewHierarchy(String, Guid, String, Boolean) Retrieves data view hierarchy object instance specified by the input parameters and sets the name of the hierarchy root node.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method IsEquivalent Tests the equivalency of a specified data view.
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.CopyTo Copies the set of data views exposed in the Visual Studio Server Explorer to an array, starting at the specified array index.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Retrieves an enumerator that is able to iterate through the data views collection.
Explicit interface implemetationPrivate property ICollection.IsSynchronized Retrieves a value that indicates whether access to the data views collection is synchronized (thread safe).
Explicit interface implemetationPrivate property ICollection.SyncRoot Retrieves an object that can be used to synchronize access to the collection.

Top

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

DataViewSupport

ICollection

IEnumerable