XmlComment Members
.NET Framework 3.0
Represents the content of an XML comment.
The following tables list the members exposed by the XmlComment type.
| Name | Description | |
|---|---|---|
| Attributes | Gets an XmlAttributeCollection containing the attributes of this node.(inherited from XmlNode) |
| BaseURI | Gets the base URI of the current node.(inherited from XmlNode) |
| ChildNodes | Gets all the child nodes of the node.(inherited from XmlNode) |
| Data | Contains the data of the node.(inherited from XmlCharacterData) |
| FirstChild | Gets the first child of the node.(inherited from XmlNode) |
| HasChildNodes | Gets a value indicating whether this node has any child nodes.(inherited from XmlNode) |
| InnerText | Gets or sets the concatenated values of the node and all the children of the node.(inherited from XmlCharacterData) |
| InnerXml | Gets or sets the markup representing only the child nodes of this node.(inherited from XmlNode) |
| IsReadOnly | Gets a value indicating whether the node is read-only.(inherited from XmlNode) |
| Item | Overloaded. Gets the specified child element.(inherited from XmlNode) |
| LastChild | Gets the last child of the node.(inherited from XmlNode) |
| Length | Gets the length of the data, in characters.(inherited from XmlCharacterData) |
| LocalName | Overridden. Gets the local name of the node. |
| Name | Overridden. Gets the qualified name of the node. |
| NamespaceURI | Gets the namespace URI of this node.(inherited from XmlNode) |
| NextSibling | Gets the node immediately following this node.(inherited from XmlLinkedNode) |
| NodeType | Overridden. Gets the type of the current node. |
| OuterXml | Gets the markup representing this node and all its child nodes.(inherited from XmlNode) |
| OwnerDocument | Gets the XmlDocument to which this node belongs.(inherited from XmlNode) |
| ParentNode | Gets the parent of this node (for nodes that can have parents).(inherited from XmlNode) |
| Prefix | Gets or sets the namespace prefix of this node.(inherited from XmlNode) |
| PreviousSibling | Gets the node immediately preceding this node.(inherited from XmlLinkedNode) |
| SchemaInfo | Gets the post schema validation infoset that has been assigned to this node as a result of schema validation.(inherited from XmlNode) |
| Value | Gets or sets the value of the node.(inherited from XmlCharacterData) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AppendChild | Adds the specified node to the end of the list of child nodes, of this node. (inherited from XmlNode) |
| AppendData | Appends the specified string to the end of the character data of the node. (inherited from XmlCharacterData) |
| Clone | Creates a duplicate of this node. (inherited from XmlNode) |
| CloneNode | Overridden. Creates a duplicate of this node. |
| CreateNavigator | Creates an XPathNavigator for navigating this object. (inherited from XmlNode) |
| DeleteData | Removes a range of characters from the node. (inherited from XmlCharacterData) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetEnumerator | Provides support for the for each style iteration over the nodes in the XmlNode. (inherited from XmlNode) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetNamespaceOfPrefix | Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration. (inherited from XmlNode) |
| GetPrefixOfNamespace | Looks up the closest xmlns declaration for the given namespace URI that is in scope for the current node and returns the prefix defined in that declaration. (inherited from XmlNode) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InsertAfter | Inserts the specified node immediately after the specified reference node. (inherited from XmlNode) |
| InsertBefore | Inserts the specified node immediately before the specified reference node. (inherited from XmlNode) |
| InsertData | Inserts the specified string at the specified character offset. (inherited from XmlCharacterData) |
| Normalize | Puts all XmlText nodes in the full depth of the sub-tree underneath this XmlNode into a "normal" form where only markup (that is, tags, comments, processing instructions, CDATA sections, and entity references) separates XmlText nodes, that is, there are no adjacent XmlText nodes. (inherited from XmlNode) |
| PrependChild | Adds the specified node to the beginning of the list of child nodes for this node. (inherited from XmlNode) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| RemoveAll | Removes all the child nodes and/or attributes of the current node. (inherited from XmlNode) |
| RemoveChild | Removes specified child node. (inherited from XmlNode) |
| ReplaceChild | Replaces the child node oldChild with newChild node. (inherited from XmlNode) |
| ReplaceData | Replaces the specified number of characters starting at the specified offset with the specified string. (inherited from XmlCharacterData) |
| SelectNodes | Overloaded. Selects a list of nodes matching the XPath expression. (inherited from XmlNode) |
| SelectSingleNode | Overloaded. Selects the first XmlNode that matches the XPath expression. (inherited from XmlNode) |
| Substring | Retrieves a substring of the full string from the specified range. (inherited from XmlCharacterData) |
| Supports | Test if the DOM implementation implements a specific feature. (inherited from XmlNode) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| WriteContentTo | Overridden. Saves all the children of the node to the specified XmlWriter. Because comment nodes do not have children, this method has no effect. |
| WriteTo | Overridden. Saves the node to the specified XmlWriter. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Reference
XmlComment ClassSystem.Xml Namespace
CreateComment