Object Model Reference : Classes : D : DataItems : Properties : DataItems.Item |
Property Item(IndexOrName As Variant) As DataItem
Member of DataItems
The Item property returns the data item (or DataItem object) representing a data field associated with the given shape. It is the default property of the DataItems class.
The Item property returns a read-only value.
The following VBA example displays the name of a data field for an object data item.
Sub FieldName() |
With ActiveShape.ObjectData.Item(1) |
MsgBox .DataField.Name |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.