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
containerISectionContainerThe ISectionContainer instance.
sectionDefinitionSectionDefinitionThe SectionDefinition instance.
fieldDescriptorFieldDescriptorThe FieldDescriptor instance.
Exceptions
- ArgumentNullException
Thrown when
container,sectionDefinition, orfieldDescriptoris 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
containerISectionContainerThe ISectionContainer instance.
sectionDefinitionIDSectionDefinitionIDThe ID of the section definition.
fieldDescriptorIDFieldDescriptorIDThe ID of the field descriptor.