DataObjectSupport Class

 

Enables you to retrieve an XML stream that describes a set of data object types on a data source, which you can then interpret and manipulate programmatically.

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.DataObjectSupport

public class DataObjectSupport : DataSupport, IVsDataObjectSupport, 
	IVsDataSupport

NameDescription
System_CAPS_pubmethodDataObjectSupport(String, Assembly)

Instantiates a new instance of the DataObjectSupport class with an XML resource stored in a managed assembly.

System_CAPS_pubmethodDataObjectSupport(String, String)

Instantiates a new instance of the DataObjectSupport class with an XML resource that is stored as a file at a specific file path on disk.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOpenSupportStream()

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

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 object type is a set of information that describes objects composing the structure of a data source—for example, a table or a data view. This information is provided in an XML stream (a Stream object) that conforms to the XML schema described in the DataObjectSupport.xsd file. For more information about this schema, see DDEX Data Object Support.

Implementing this object allows Visual Studio to access these objects programmatically without needing to rely on data source–specific commands.

You must implement this class to use data tools with the data provider, including the use of custom data view implementations that depend on programmatic access to data objects.

Inherits from the DataSupport class.

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: