DataViewSupport Class

 

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

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

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

public class DataViewSupport : DataSupport, IVsDataViewSupport, 
	IVsDataSupport, IVsDataSiteableObject<IVsDataViewHierarchy>, 
	IServiceProvider

NameDescription
System_CAPS_pubmethodDataViewSupport(String, Assembly)

Initializes a new instance of the DataViewSupport class with the resource base name and the assembly in which the resource is located.

System_CAPS_pubmethodDataViewSupport(String, String)

Initializes a new instance of the DataViewSupport class with the base name of the XML file and the path to this file.

NameDescription
System_CAPS_protpropertyConnection

Gets the connection associated with the data view hierarchy.

System_CAPS_protpropertyViewHierarchy

Gets the current instance of the view hierarchy object.

NameDescription
System_CAPS_pubmethodClose()

Closes the data view support object, allowing the provider to clean up resources when the data view hierarchy is closed.

System_CAPS_protmethodCreateService(Type)

Creates a service for the specified type.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetService(Type)

Retrieves the service object for the specified type.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize()

Initializes the data view support object, allowing the provider to initialize resources when the data view hierarchy is created.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOpenSupportStream()

Opens a stream of bytes representing the data view support XML.(Overrides DataSupport.OpenSupportStream().)

System_CAPS_protmethodOpenSupportStream(CultureInfo)

Opens a stream of bytes representing the XML content for a specified culture.(Inherited from DataSupport.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: