次の方法で共有


DataRecordset.DataAsXML Property (Visio)

Returns an XML string that fully describes a data recordset and conforms to the Microsoft ActiveX® Data Objects (ADO) classic XML schema. Read-only.

Note

This Visio object or member is available only to licensed users of Microsoft Visio Professional 2010 or Visio Premium 2010.

Version Information

Version Added: Visio 2007

Syntax

expression .DataAsXML

expression An expression that returns a DataRecordset object.

Return Value

String

Remarks

The string returned by DataAsXML contains all the rows in the data recordset with Microsoft Visio row IDs pre-pended to them.

The string returned by DataAsXML contains all the valid rows and columns in the data recordset that was imported as well as an additional column, named _Visio_RowID_, inserted as the first column, that assigns a unique row ID to each row in the data recordset.