Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
XmlHelper..::.RemoveElement Method
XmlHelper Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Remove all immediate child elements with the given name.

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

# 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

Exception | Condition
--- | ---
System..::.InvalidOperationException | If the element is immutable or otherwise cannot remove a child element.

# See Also

XmlHelper Class
Tangosol.Run.Xml Namespace