Represents a read-only collection of Bexel.Api.Elements.
More...
Represents a read-only collection of Bexel.Api.Elements.
◆ ContainsKey() [1/2]
◆ ContainsKey() [2/2]
Determines whether the collection contains the element with the specified internal ID.
- Parameters
-
internalID | Internal ID of the element. |
- Returns
- True if element with the specified internal ID exists, False otherwise.
Implemented in Bexel.Api.ReadOnlyElementCollection< TElement >.
◆ GetElementByID() [1/4]
◆ GetElementByID() [2/4]
Retrieves the element with the specified internal ID.
- Parameters
-
internalID | Internal ID of the element. |
- Returns
- An element with the specified internal ID, null if no such element exists within the collection.
Implemented in Bexel.Api.ReadOnlyElementCollection< TElement >.
◆ GetElementByID() [3/4]
Retrieves the element with the specified unique ID.
- Parameters
-
uniqueID | Unique ID of the element. |
- Returns
- An element with the specified unique ID, null if no such element exists within the collection.
If multiple elements with the same unique ID exist, the first element will be returned.
- Exceptions
-
System.ArgumentNullException | uniqueID is null. |
System.FormatException | uniqueID is not a valid GUID format. |
Implemented in Bexel.Api.ReadOnlyElementCollection< TElement >.
◆ GetElementByID() [4/4]
Retrieves the element with the specified unique ID.
- Parameters
-
uniqueID | Unique ID of the element. |
- Returns
- An element with the specified unique ID, null if no such element exists within the collection.
If multiple elements with the same unique ID exist, the first element will be returned.
Implemented in Bexel.Api.ReadOnlyElementCollection< TElement >.
◆ GetElementsByID() [1/2]
Retrieves the elements with the specified unique ID.
- Parameters
-
uniqueID | Unique ID of the element. |
- Returns
- All elements with the specified unique ID, empty collection if no such elements exist within the collection.
Implemented in Bexel.Api.ReadOnlyElementCollection< TElement >.
◆ GetElementsByID() [2/2]
Retrieves the elements with the specified unique ID.
- Parameters
-
uniqueID | Unique ID of the element. |
- Returns
- All elements with the specified unique ID, empty collection if no such elements exist within the collection.
Implemented in Bexel.Api.ReadOnlyElementCollection< TElement >.
◆ this[ElementID id]
Retrieves the element with the specified ID.
- Parameters
-
- Returns
- An element with the specified ID.
- Exceptions
-
System.Collections.Generic.KeyNotFoundException | No element with the specified ID exists within the collection. |
◆ this[int internalID]
Retrieves the element with the specified internal ID.
- Parameters
-
internalID | Internal ID of the element. |
- Returns
- An element with the specified internal ID.
- Exceptions
-
System.Collections.Generic.KeyNotFoundException | No element with the specified internal ID exists within the collection. |