Table of Contents

Method RemoveFieldValue

Namespace
Skyline.DataMiner.Utils.DOM.Extensions
Assembly
Skyline.DataMiner.Utils.DOM.dll

RemoveFieldValue(ISectionContainer, SectionDefinition, FieldDescriptor)

Removes the value of a field within a section by definition.

public static void RemoveFieldValue(this ISectionContainer container, SectionDefinition sectionDefinition, FieldDescriptor fieldDescriptor)

Parameters

container ISectionContainer

The ISectionContainer instance.

sectionDefinition SectionDefinition

The SectionDefinition instance.

fieldDescriptor FieldDescriptor

The FieldDescriptor instance.

Exceptions

ArgumentNullException

Thrown when container, sectionDefinition, or fieldDescriptor is null.

RemoveFieldValue(ISectionContainer, SectionDefinitionID, FieldDescriptorID)

Removes the value of a field within a section by definition ID.

public static void RemoveFieldValue(this ISectionContainer container, SectionDefinitionID sectionDefinitionID, FieldDescriptorID fieldDescriptorID)

Parameters

container ISectionContainer

The ISectionContainer instance.

sectionDefinitionID SectionDefinitionID

The ID of the section definition.

fieldDescriptorID FieldDescriptorID

The ID of the field descriptor.