Represents a collection of elements within the Bexel.Api.SelectionSets.SelectionSet.
More...
|
abstract TElement | Create (ElementRef elementRef) |
|
override Element | Create (ElementRef elementRef) |
|
Represents a collection of elements within the Bexel.Api.SelectionSets.SelectionSet.
◆ Add()
void Bexel.Api.SelectionSets.SelectionSetElements.Add |
( |
Element |
element | ) |
|
Adds the specified element to the selection set.
- Parameters
-
element | Element to be added to selection set. |
If the specified element is already present in selection set, no action will take place.
◆ AddRange()
void Bexel.Api.SelectionSets.SelectionSetElements.AddRange |
( |
IEnumerable< Element > |
elements | ) |
|
Adds the specified elements to the selection set.
- Parameters
-
elements | Elements to be added to selection set. |
Elements which are already present in selection set will be skipped.
◆ Remove() [1/2]
void Bexel.Api.SelectionSets.SelectionSetElements.Remove |
( |
Element |
element | ) |
|
Removes the specified element from the selection set.
- Parameters
-
element | Element to be removed from selection set. |
If the specified element is not present in selection set, no action will take place.
◆ Remove() [2/2]
void Bexel.Api.SelectionSets.SelectionSetElements.Remove |
( |
int |
internalID | ) |
|
Removes the element with the specified internal ID from the selection set.
- Parameters
-
internalID | Internal ID of the element to be removed from selection set. |
If the element with the specified internal ID is already present in selection set, no action will take place.
◆ RemoveRange() [1/2]
void Bexel.Api.SelectionSets.SelectionSetElements.RemoveRange |
( |
IEnumerable< Element > |
elements | ) |
|
Removes the specified elements from the selection set.
- Parameters
-
elements | Elements to be removed from selection set. |
Elements which are not present in selection set will be skipped.
◆ RemoveRange() [2/2]
void Bexel.Api.SelectionSets.SelectionSetElements.RemoveRange |
( |
IEnumerable< int > |
internalIDs | ) |
|
Removes the elements with the specified internal ID from the selection set.
- Parameters
-
internalIDs | Internal ID of the elements to be removed from selection set. |
Internal IDs of the elements which are not present in selection set will be skipped.