![]() |
v2.41
|
|
Contains methods to work with selection in the model. More...
Public Member Functions | |
| HRESULT | GetSelectedObjects ([out, retval] SAFEARRAY(int) *pObjectIds) |
| Returns a collection of IDs of objects selected in the current view. | |
| HRESULT | SetSelectedObjects ([in] SAFEARRAY(int) objectIds) |
| Select objects by a collection of their IDs. | |
Contains methods to work with selection in the model.
A model object can be either selected or not. This interface provides methods to query the IDs of selected objects and select sets of objects by their IDs.
See _ISelectionEvents for a list of events relating to selection operation.
| HRESULT GetSelectedObjects | ( | [out, retval] SAFEARRAY(int) * | pObjectIds | ) |
Returns a collection of IDs of objects selected in the current view.
| HRESULT SetSelectedObjects | ( | [in] SAFEARRAY(int) | objectIds | ) |
Select objects by a collection of their IDs.
| [in] | objectIds | An array of IDs of object to select. |