Table of Contents

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 SectionDefinitionCrudHelperComponent

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.SectionDefinitionCrudHelperComponent.

name string

The 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.