Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Remove all immediate child elements with the given name.

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static int RemoveElement(
	IXmlElement xml,
	string name
)

Parameters

xml
Type: Tangosol.Run.Xml..::.IXmlElement
An IXmlElement.
name
Type: System..::.String
Child element name.

Return Value

The number of removed child elements.

Exceptions

ExceptionCondition
System..::.InvalidOperationException If the element is immutable or otherwise cannot remove a child element.

See Also