Method GetByID
- Namespace
- Skyline.DataMiner.Utils.DOM.Extensions
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
GetByID(DomDefinitionCrudHelperComponent, Guid)
Gets a Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition by its ID.
public static DomDefinition GetByID(this DomDefinitionCrudHelperComponent helper, Guid id)
Parameters
helper
DomDefinitionCrudHelperComponentThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinitionCrudHelperComponent instance.
id
GuidThe ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition to retrieve.
Returns
- DomDefinition
The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition with the specified ID, or null if not found.
Exceptions
- ArgumentNullException
Thrown when
helper
is null.