Comment
Contents
[
Hide
]Comment class
Inherits from CharacterData and represents the content of a comment.
public class Comment : CharacterData
Properties
Name | Description |
---|---|
virtual BaseURI { get; } | Gets the absolute base URI of this node or null if the implementation wasn’t able to obtain an absolute URI. |
ChildNodes { get; } | Gets the child nodes. |
Data { get; set; } | Gets or sets the character data of the node that implements this interface. |
FirstChild { get; } | Gets the first child of this node. If there is no such node, this returns null. |
HasChildNodes { get; } | Gets whether this node has any children. |
LastChild { get; } | Gets the last child of this node. If there is no such node, this returns null. |
Length { get; } | Gets the number of 16-bit units that are available through data. This may have the value zero, i.e., CharacterData nodes may be empty. |
virtual LocalName { get; } | Gets the local part of the qualified name of this node. |
virtual NamespaceURI { get; } | Gets the namespace URI of this node. |
NextSibling { get; } | Gets the node immediately following this node. If there is no such node, this returns null. |
override NodeName { get; } | Gets the node name of the comment. |
NodeType { get; } | Gets the node type. |
virtual NodeValue { get; set; } | Gets or sets the value of this node, depending on its type. |
OwnerDocument { get; } | Gets the document object associated with this node. |
ParentNode { get; } | Gets the parent node. |
virtual Prefix { get; set; } | Gets or sets the namespace prefix of this node. |
PreviousSibling { get; } | Gets the node immediately preceding this node. If there is no such node, this returns null. |
virtual TextContent { get; set; } | Gets or sets the the text content of this node and its descendants. |
Methods
Name | Description |
---|---|
AppendChild(Node) | Adds the node newChild to the end of the list of children of this node. |
virtual AppendData(string) | Appends the string to the end of the character data of the node. |
virtual DeleteData(int, int) | Removes a range of content from the node. |
virtual InsertData(int, string) | Inserts a string at the specified offset. |
RemoveChild(Node) | Removes the child node indicated by old child from the list of children. |
ReplaceChild(Node, Node) | Replaces the child node old child with new child in the list of children, and returns the old child node. |
virtual ReplaceData(int, int, string) | Replaces the characters starting at the specified offset with the specified string. |
virtual Substring(int, int) | Extracts a range of data from the node. |
See Also
- class CharacterData
- namespace Aspose.Finance.Xbrl.Dom
- assembly Aspose.Finance