C# Class RtfDomParser.RTFNodeList

Inheritance: System.Collections.CollectionBase
Show file Open project: SourceCodeBackup/RtfDomParser Class Usage Examples

Public Methods

Method Description
ContainsKey ( string Key ) : bool

detect whether exist node special keyword in this list

GetParameter ( string key, int DefaultValue ) : int

get node's parameter value special keyword, if can not find , return default value.

IndexOf ( RTFNode node ) : int

get index of node in this list

this ( Type t ) : RTFNode

get node special type

this ( int index ) : RTFNode

get node special index

this ( string KeyWord ) : RTFNode

get node special keyword

Private Methods

Method Description
Add ( RTFNode node ) : void

add node

AddRange ( RTFNodeList list ) : void
Insert ( int index, RTFNode node ) : void

insert node

Remove ( RTFNode node ) : void

remvoe node

Method Details

ContainsKey() public method

detect whether exist node special keyword in this list
public ContainsKey ( string Key ) : bool
Key string keyword
return bool

GetParameter() public method

get node's parameter value special keyword, if can not find , return default value.
public GetParameter ( string key, int DefaultValue ) : int
key string keyword
DefaultValue int default value
return int

IndexOf() public method

get index of node in this list
public IndexOf ( RTFNode node ) : int
node RTFNode node
return int

this() public method

get node special type
public this ( Type t ) : RTFNode
t System.Type
return RTFNode

this() public method

get node special index
public this ( int index ) : RTFNode
index int
return RTFNode

this() public method

get node special keyword
public this ( string KeyWord ) : RTFNode
KeyWord string
return RTFNode