DataColumns Object
Collapse the table of content
Expand the table of content

DataColumns Object (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

The collection of DataColumn objects associated with a DataRecordset object.

Note Note

This Visio object or member is available only to licensed users of Visio Professional 2013.

The default property of the DataColumns collection is Item.

A DataRecordset object can contain only one DataColumns collection. The number of DataColumn objects that can belong to a DataColumns collection is limited only by the number of columns in the data source and the hardware constraints of your computer.

You can use the SetColumnProperties method to set multiple properties of the data recordset columns you specify to the values you specify. Note that SetColumnProperties can set values of multiple properties for multiple columns, whereas the DataColumn.SetProperty method sets the value of only one property of one column at a time.

© 2015 Microsoft