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
helper
SectionDefinitionCrudHelperComponentThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.SectionDefinitionCrudHelperComponent.
name
stringThe name of the SectionDefinition.
Returns
- SectionDefinition
The SectionDefinition with the specified name, or null if not found.
Exceptions
- ArgumentNullException
helper
is null.- ArgumentException
name
is null or whitespace.