Share via


DataColumn.DisplayName Property

Visio Automation Reference

Specifies the name that appears for the data column on the tab of the parent data recordset in the External Data window in the Microsoft Office Visio user interface. Read/write.

ms428308.vs_note(en-us,office.12).gif  Note
This Visio object or member is available only to licensed users of Microsoft Office Visio Professional 2007.

Version Information
 Version Added:  Visio 2007

Syntax

expression.DisplayName

expression   An expression that returns a DataColumn object.

Return Value
String

Remarks

The DisplayName property value is not necessarily the same as that of the Name property, which is read-only, and which determines the unique identifier of the data column in its parent data recordset.

The value of the DisplayName property corresponds to the value in the Label column in the Shape Data section of the ShapeSheet spreadsheet of a shape that is linked to data. The Label column value determines the label that appears for a particular shape-data item in the Shape Data dialog box for that shape. (Right-click the shape, and then click Shape Data.)

ms428308.vs_note(en-us,office.12).gif  Note
In previous versions of Visio, Shape Data were called Custom Properties.

See Also