Partager via


DataViewSupport Class

Enables retrieving an XML stream that provides a description of one or more data views.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataSupport
    Microsoft.VisualStudio.Data.DataViewSupport

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

Syntax

'Déclaration
<GuidAttribute("62FEBD16-9A14-49c8-AEB1-68CE7604331C")> _
Public Class DataViewSupport _
    Inherits DataSupport
[GuidAttribute("62FEBD16-9A14-49c8-AEB1-68CE7604331C")]
public class DataViewSupport : DataSupport
[GuidAttribute(L"62FEBD16-9A14-49c8-AEB1-68CE7604331C")]
public ref class DataViewSupport : public DataSupport
[<GuidAttribute("62FEBD16-9A14-49c8-AEB1-68CE7604331C")>]
type DataViewSupport =  
    class
        inherit DataSupport
    end
public class DataViewSupport extends DataSupport

The DataViewSupport type exposes the following members.

Constructors

  Name Description
Protected method DataViewSupport() Class constructor. Instantiates a new instance of the DataViewSupport class.
Public method DataViewSupport(String, Assembly) Class constructor. Instantiates a new instance of the DataViewSupport class, providing resource base name and the assembly in which the resource is located.
Public method DataViewSupport(String, String) Class constructor. Instantiates a new instance of the DataViewSupport class.

Top

Methods

  Name Description
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 GetDataViews Retrieves an XML stream that contains a description of one or more data views to display in the Visual Studio Server Explorer tool window for a given connection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSupportStream Obtains a Stream object instance for a specified culture. (Inherited from DataSupport.)
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

Remarks

A data view is a hierarchical layout of data source objects that are displayed in the Visual Studio Server Explorer window. Implementing this class allows such a hierarchy to be displayed to represent the hierarchical relationships of data source objects from virtually any data source.

The XML stream, which describes the data view, is provided in an XML file that validates against the schema definition file VSDataViewSupport.xsd.

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

DataObjectSupport

DataSupport