Window.SelectedDataRowID Property
Visio Automation Reference |
Gets or sets the ID of the data row that is selected (or that is the primary row selected, when multiple rows are selected) on the active tab of the External Data Window in the Microsoft Office Visio user interface (UI). Read/write.
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.SelectedDataRowID
expression An expression that returns a Window object.
Return Value
Long
Remarks
The SelectedDataRowID property works only when the Window object represents the External Data Window. Calling the property on any other window type results in an error. The External Data Window must already be displayed in the Visio UI before you call SelectedDataRowID.
Setting SelectedDataRowID clears the current selection and sets the selection to the row you specify.
If multiple rows are selected when you get SelectedDataRowID, the property returns the ID of the row that has the focus.
See Also