C# Class RtfDomParser.RTFDomElementList

Inheritance: System.Collections.CollectionBase
显示文件 Open project: SourceCodeBackup/RtfDomParser Class Usage Examples

Public Methods

Method Description
Add ( RTFDomElement element ) : int

add element

IndexOf ( RTFDomElement element ) : int

Get the index of special element that starts with 0.

Insert ( int index, RTFDomElement element ) : void

insert element

RTFDomElementList ( ) : System

initialize instance

Remove ( RTFDomElement node ) : void

delete element

ToArray ( ) : RtfDomParser.RTFDomElement[]

return element array

this ( int index ) : RTFDomElement

get the element at special index

Method Details

Add() public method

add element
public Add ( RTFDomElement element ) : int
element RTFDomElement element
return int

IndexOf() public method

Get the index of special element that starts with 0.
public IndexOf ( RTFDomElement element ) : int
element RTFDomElement element
return int

Insert() public method

insert element
public Insert ( int index, RTFDomElement element ) : void
index int special index
element RTFDomElement element
return void

RTFDomElementList() public method

initialize instance
public RTFDomElementList ( ) : System
return System

Remove() public method

delete element
public Remove ( RTFDomElement node ) : void
node RTFDomElement element
return void

ToArray() public method

return element array
public ToArray ( ) : RtfDomParser.RTFDomElement[]
return RtfDomParser.RTFDomElement[]

this() public method

get the element at special index
public this ( int index ) : RTFDomElement
index int index
return RTFDomElement