DataViewSupport Class
Enables retrieving an XML stream that provides a description of one or more data views.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Framework.DataSupport
Microsoft.VisualStudio.Data.Framework.DataViewSupport
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaración
Public Class DataViewSupport _
Inherits DataSupport _
Implements IVsDataViewSupport, IVsDataSupport, IVsDataSiteableObject(Of IVsDataViewHierarchy), _
IServiceProvider
public class DataViewSupport : DataSupport,
IVsDataViewSupport, IVsDataSupport, IVsDataSiteableObject<IVsDataViewHierarchy>, IServiceProvider
public ref class DataViewSupport : public DataSupport,
IVsDataViewSupport, IVsDataSupport, IVsDataSiteableObject<IVsDataViewHierarchy^>, IServiceProvider
type DataViewSupport =
class
inherit DataSupport
interface IVsDataViewSupport
interface IVsDataSupport
interface IVsDataSiteableObject<IVsDataViewHierarchy>
interface IServiceProvider
end
public class DataViewSupport extends DataSupport implements IVsDataViewSupport, IVsDataSupport, IVsDataSiteableObject<IVsDataViewHierarchy>, IServiceProvider
The DataViewSupport type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataViewSupport(String, Assembly) | Initializes a new instance of the DataViewSupport class with the resource base name and the assembly in which the resource is located. | |
DataViewSupport(String, String) | Initializes a new instance of the DataViewSupport class with the base name of the XML file and the path to this file. |
Top
Properties
Name | Description | |
---|---|---|
Connection | Gets the connection associated with the data view hierarchy. | |
ViewHierarchy | Gets the current instance of the view hierarchy object. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the data view support object, allowing the provider to clean up resources when the data view hierarchy is closed. | |
CreateService | Creates a service for the specified type. | |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetService | Retrieves the service object for the specified type. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | Initializes the data view support object, allowing the provider to initialize resources when the data view hierarchy is created. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenSupportStream() | Opens a stream of bytes representing the data view support XML. (Overrides DataSupport.OpenSupportStream().) | |
OpenSupportStream(CultureInfo) | Opens a stream of bytes representing the XML content for a specified culture. (Inherited from DataSupport.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsDataSiteableObject<IVsDataViewHierarchy>.Site | Gets or sets the site - the current instance of the view hierarchy object. |
Top
Remarks
A data view is a hierarchical layout of data source objects that are displayed in the Visual Studio Server Explorer. 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 DataViewSupport.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.