C# Класс HandCoded.Xml.MutableNodeList

The MutableNodeList class implements a XmlNodeList that can have its contents changed.
Наследование: System.Xml.XmlNodeList
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
EMPTY System.Xml.XmlNodeList

Открытые методы

Метод Описание
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.

Описание методов

Add() публичный Метод

Adds the indicated XmlNode instance to the current MutableNodeList.
public Add ( XmlNode node ) : void
node System.Xml.XmlNode The to be added.
Результат void

AddAll() публичный Метод

Adds the contents of the given XmlNodeList into the current MutableNodeList.
public AddAll ( XmlNodeList list ) : void
list System.Xml.XmlNodeList The to be added.
Результат void

Clear() публичный Метод

Removes all XmlNode instances from the underlying collection.
public Clear ( ) : void
Результат void

GetEnumerator() публичный Метод

Returns an IEnumerator than can be used to iterate through the underlying collection.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

Item() публичный Метод

Returns the indicated item from the underlying collection.
public Item ( int index ) : XmlNode
index int The position of the required item.
Результат System.Xml.XmlNode

MutableNodeList() публичный Метод

Constructs an empty MutableNodeList instance.
public MutableNodeList ( ) : System
Результат System

Remove() публичный Метод

Removes in indicated XmlNode from the collection held within the MutableNodeList.
public Remove ( XmlNode node ) : void
node System.Xml.XmlNode The to be removed.
Результат void

RemoveAll() публичный Метод

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.
Результат void

Описание свойств

EMPTY публичное статическое свойство

An empty XmlNodeList
public static XmlNodeList,System.Xml EMPTY
Результат System.Xml.XmlNodeList