Share via


DataRecordsets.ItemFromID Property

Visio Automation Reference

Returns a DataRecordset object from the DataRecordsets collection by using the unique ID of the object. Read-only.

ms426081.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.ItemFromID(ID)

expression   A variable that represents a DataRecordsets object.

Parameters

Name Required/Optional Data Type Description
ID Required Long The unique ID of the DataRecordset object to retrieve.

Return Value
DataRecordset

Remarks

The ID of a DataRecordset object is never recycled for a particular document. You can get the ID of a DataRecordset object by getting the value of the DataRecordset.ID property.

See Also