Table of contents
TOC
Collapse the table of content
Expand the table of content

DataColumns.Item Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

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

Syntax

expression . Item( IndexOrName )

expression A variable that represents a DataColumns object.

Parameters

NameRequired/OptionalData TypeDescription
IndexOrNameRequiredVariantThe index (as a Long ) or the name (as a String ) of the data column to retrieve.

Return Value

DataColumn

Remarks

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.

© 2018 Microsoft