MenuSet.SetID Property
Visio Automation Reference |
Returns the set ID of an MenuSet object in its collection. Read-only.
Version Information
Version Added: Visio 4.0
Syntax
expression.SetID
expression A variable that represents a MenuSet object.
Return Value
Long
Remarks
Each MenuSet object has a set ID that corresponds to a Microsoft Office Visio window context. For MenuSet objects, set IDs also correspond to shortcut menu sets.
You can retrieve an object from its collection by passing the object's set ID to the ItemAtID property. You can also set the set ID of an object by using the AddAtID method.
Valid set ID values are declared by the Visio type library in VisUIObjSets.
See Also