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
'Declaration
<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 | |
---|---|---|
DataViewSupport() | Class constructor. Instantiates a new instance of the DataViewSupport class. | |
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. | |
DataViewSupport(String, String) | Class constructor. Instantiates a new instance of the DataViewSupport class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSupportStream | Obtains a Stream object instance for a specified culture. (Inherited from DataSupport.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.