C# Class HandCoded.Xml.MutableNodeList

The MutableNodeList class implements a XmlNodeList that can have its contents changed.
Inheritance: System.Xml.XmlNodeList
Mostra file Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Public Properties

Property Type Description
EMPTY System.Xml.XmlNodeList

Public Methods

Method Description
Add ( XmlNode node ) : void

Adds the indicated XmlNode instance to the current MutableNodeList.

AddAll ( XmlNodeList list ) : void

Adds the contents of the given XmlNodeList into the current MutableNodeList.

Clear ( ) : void

Removes all XmlNode instances from the underlying collection.

GetEnumerator ( ) : IEnumerator

Returns an IEnumerator than can be used to iterate through the underlying collection.

Item ( int index ) : XmlNode

Returns the indicated item from the underlying collection.

MutableNodeList ( ) : System

Constructs an empty MutableNodeList instance.

Remove ( XmlNode node ) : void

Removes in indicated XmlNode from the collection held within the MutableNodeList.

RemoveAll ( XmlNodeList list ) : void

Removes each of the XmlNode instances in the given XmlNodeList from the collection held within the MutableNodeList.

Method Details

Add() public method

Adds the indicated XmlNode instance to the current MutableNodeList.
public Add ( XmlNode node ) : void
node System.Xml.XmlNode The to be added.
return void

AddAll() public method

Adds the contents of the given XmlNodeList into the current MutableNodeList.
public AddAll ( XmlNodeList list ) : void
list System.Xml.XmlNodeList The to be added.
return void

Clear() public method

Removes all XmlNode instances from the underlying collection.
public Clear ( ) : void
return void

GetEnumerator() public method

Returns an IEnumerator than can be used to iterate through the underlying collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

Item() public method

Returns the indicated item from the underlying collection.
public Item ( int index ) : XmlNode
index int The position of the required item.
return System.Xml.XmlNode

MutableNodeList() public method

Constructs an empty MutableNodeList instance.
public MutableNodeList ( ) : System
return System

Remove() public method

Removes in indicated XmlNode from the collection held within the MutableNodeList.
public Remove ( XmlNode node ) : void
node System.Xml.XmlNode The to be removed.
return void

RemoveAll() public method

Removes each of the XmlNode instances in the given XmlNodeList from the collection held within the MutableNodeList.
public RemoveAll ( XmlNodeList list ) : void
list System.Xml.XmlNodeList The of instance to remove.
return void

Property Details

EMPTY public_oe static_oe property

An empty XmlNodeList
public static XmlNodeList,System.Xml EMPTY
return System.Xml.XmlNodeList