Selection.SetElementIds
Method
Description:
Selects the elements.
Selects the elements.
Remarks:
This function will select the specified elements within the project and update the UI. See SetReferences for more selection options.
This function will select the specified elements within the project and update the UI. See SetReferences for more selection options.
Parameters
Parameter | Type | Description |
---|---|---|
elementIds | ICollection | The ids of the elements to be selected. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Changing the selection is not permitted while handling SelectionChanged Event. |