Method GetByName
- Namespace
- Skyline.DataMiner.Utils.DOM.Extensions
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
GetByName(SectionDefinitionCrudHelperComponent, string)
Gets a SectionDefinition by name.
public static SectionDefinition GetByName(this SectionDefinitionCrudHelperComponent helper, string name)
Parameters
helperSectionDefinitionCrudHelperComponentThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.SectionDefinitionCrudHelperComponent.
namestringThe name of the SectionDefinition.
Returns
- SectionDefinition
The SectionDefinition with the specified name, or null if not found.
Exceptions
- ArgumentNullException
helperis null.- ArgumentException
nameis null or whitespace.