This topic has not yet been rated - Rate this topic

XmlNotation Class

Represents a notation declaration, such as <!NOTATION... >.

System.Object
  System.Xml.XmlNode
    System.Xml.XmlNotation

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)
public class XmlNotation : XmlNode

The XmlNotation type exposes the following members.

  Name Description
Public property Attributes Gets an XmlAttributeCollection containing the attributes of this node. (Inherited from XmlNode.)
Public property BaseURI Gets the base URI of the current node. (Inherited from XmlNode.)
Public property ChildNodes Gets all the child nodes of the node. (Inherited from XmlNode.)
Public property FirstChild Gets the first child of the node. (Inherited from XmlNode.)
Public property HasChildNodes Gets a value indicating whether this node has any child nodes. (Inherited from XmlNode.)
Public property InnerText Gets or sets the concatenated values of the node and all its child nodes. (Inherited from XmlNode.)
Public property InnerXml Gets the markup representing the children of this node. (Overrides XmlNode.InnerXml.)
Public property IsReadOnly Gets a value indicating whether the node is read-only. (Overrides XmlNode.IsReadOnly.)
Public property Item[String] Gets the first child element with the specified Name. (Inherited from XmlNode.)
Public property Item[String, String] Gets the first child element with the specified LocalName and NamespaceURI. (Inherited from XmlNode.)
Public property LastChild Gets the last child of the node. (Inherited from XmlNode.)
Public property LocalName Gets the name of the current node without the namespace prefix. (Overrides XmlNode.LocalName.)
Public property Name Gets the name of the current node. (Overrides XmlNode.Name.)
Public property NamespaceURI Gets the namespace URI of this node. (Inherited from XmlNode.)
Public property NextSibling Gets the node immediately following this node. (Inherited from XmlNode.)
Public property NodeType Gets the type of the current node. (Overrides XmlNode.NodeType.)
Public property OuterXml Gets the markup representing this node and all its children. (Overrides XmlNode.OuterXml.)
Public property OwnerDocument Gets the XmlDocument to which this node belongs. (Inherited from XmlNode.)
Public property ParentNode Gets the parent of this node (for nodes that can have parents). (Inherited from XmlNode.)
Public property Prefix Gets or sets the namespace prefix of this node. (Inherited from XmlNode.)
Public property PreviousSibling Gets the node immediately preceding this node. (Inherited from XmlNode.)
Public property PublicId Gets the value of the public identifier on the notation declaration.
Public property SchemaInfo Gets the post schema validation infoset that has been assigned to this node as a result of schema validation. (Inherited from XmlNode.)
Public property SystemId Gets the value of the system identifier on the notation declaration.
Public property Value Gets or sets the value of the node. (Inherited from XmlNode.)
Top
  Name Description
Public method AppendChild Adds the specified node to the end of the list of child nodes, of this node. (Inherited from XmlNode.)
Public method Clone Creates a duplicate of this node. (Inherited from XmlNode.)
Public method CloneNode Creates a duplicate of this node. Notation nodes cannot be cloned. Calling this method on an XmlNotation object throws an exception. (Overrides XmlNode.CloneNode(Boolean).)
Public method CreateNavigator Creates an XPathNavigator for navigating this object. (Inherited from XmlNode.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Provides support for the for each style iteration over the nodes in the XmlNode. (Inherited from XmlNode.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method 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.)
Public method 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.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InsertAfter Inserts the specified node immediately after the specified reference node. (Inherited from XmlNode.)
Public method InsertBefore Inserts the specified node immediately before the specified reference node. (Inherited from XmlNode.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.)
Public method PrependChild Adds the specified node to the beginning of the list of child nodes for this node. (Inherited from XmlNode.)
Public method RemoveAll Removes all the child nodes and/or attributes of the current node. (Inherited from XmlNode.)
Public method RemoveChild Removes specified child node. (Inherited from XmlNode.)
Public method ReplaceChild Replaces the child node oldChild with newChild node. (Inherited from XmlNode.)
Public method SelectNodes(String) Selects a list of nodes matching the XPath expression. (Inherited from XmlNode.)
Public method SelectNodes(String, XmlNamespaceManager) Selects a list of nodes matching the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied XmlNamespaceManager. (Inherited from XmlNode.)
Public method SelectSingleNode(String) Selects the first XmlNode that matches the XPath expression. (Inherited from XmlNode.)
Public method SelectSingleNode(String, XmlNamespaceManager) Selects the first XmlNode that matches the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied XmlNamespaceManager. (Inherited from XmlNode.)
Public method Supports Test if the DOM implementation implements a specific feature. (Inherited from XmlNode.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteContentTo Saves the children of the node to the specified XmlWriter. This method has no effect on XmlNotation nodes. (Overrides XmlNode.WriteContentTo(XmlWriter).)
Public method WriteTo Saves the node to the specified XmlWriter. This method has no effect on XmlNotation nodes. (Overrides XmlNode.WriteTo(XmlWriter).)
Top
  Name Description
Explicit interface implemetation Private method ICloneable.Clone For a description of this member, see XmlNode.Clone. (Inherited from XmlNode.)
Explicit interface implemetation Private method IEnumerable.GetEnumerator For a description of this member, see XmlNode.GetEnumerator. (Inherited from XmlNode.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ