Click or drag to resize

XmlHelperRemoveElement Method

.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Remove all immediate child elements with the given name.

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntax
C#
public static int RemoveElement(
	IXmlElement xml,
	string name
)

Parameters

xml
Type: Tangosol.Run.XmlIXmlElement
An IXmlElement.
name
Type: SystemString
Child element name.

Return Value

Type: Int32
The number of removed child elements.
Exceptions
ExceptionCondition
InvalidOperationException If the element is immutable or otherwise cannot remove a child element.
See Also