DataColumns.Item property (Visio)

Returns the DataColumn object at the specified index position, or of the specified name, in the DataColumns collection. Read-only.


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


expression.Item (IndexOrName)

expression A variable that represents a DataColumns object.


Name Required/Optional Data type Description
IndexOrName Required Variant The index (as a Long) or the name (as a String) of the data column to retrieve.

Return value



Item is the default property of the DataColumns collection.

When you retrieve objects from a collection, you can omit Item from the expression because it is the default property of all collections. The following statements are equivalent to the syntax example given above:

objectReturned = expression(Index) 
objectReturned = expression(Name) 

The DataColumns collection is indexed starting with 1.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.