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
ISectionContainerThe ISectionContainer instance.
sectionDefinition
SectionDefinitionThe SectionDefinition instance.
fieldDescriptor
FieldDescriptorThe FieldDescriptor instance.
Exceptions
- ArgumentNullException
Thrown when
container
,sectionDefinition
, orfieldDescriptor
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
ISectionContainerThe ISectionContainer instance.
sectionDefinitionID
SectionDefinitionIDThe ID of the section definition.
fieldDescriptorID
FieldDescriptorIDThe ID of the field descriptor.