Метод | Описание | |
---|---|---|
AddAttribute ( this ParentNode, string Name ) : |
Adds a new Attribute to the specified Node using the default namespace for the document.
|
|
AddChild ( this ParentNode, string Name ) : |
Adds a new Child Node to the specified Node using the default Namespace.
|
|
InnerTextOrDefault ( this node ) : string |
Returns the InnerText of the Node. If the node InnerText is Null or Empty, it returns an empty string.
|
|
InnerTextOrDefault ( this node, string Default ) : string |
Returns the InnerText of the Node. If the node InnerText is Null or Empty, it returns the string in Default;
|
|
IsNullOrEmpty ( this node ) : bool |
Returns True if the Node itself is null, or the Node.InnerText (after trimming) is null or empty
|
public static AddAttribute ( this ParentNode, string Name ) : |
||
ParentNode | this | |
Name | string | |
Результат |
public static AddChild ( this ParentNode, string Name ) : |
||
ParentNode | this | |
Name | string | |
Результат |
public static InnerTextOrDefault ( this node ) : string | ||
node | this | |
Результат | string |
public static InnerTextOrDefault ( this node, string Default ) : string | ||
node | this | |
Default | string | String to return if Node Inntertext |
Результат | string |
public static IsNullOrEmpty ( this node ) : bool | ||
node | this | |
Результат | bool |