Export (0) Print
Expand All

XmlNotation Class

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

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

type XmlNotation =  
    class 
        inherit XmlNode 
    end

The XmlNotation type exposes the following members.

  NameDescription
Public propertyAttributesGets an XmlAttributeCollection containing the attributes of this node. (Inherited from XmlNode.)
Public propertyBaseURIGets the base URI of the current node. (Inherited from XmlNode.)
Public propertyChildNodesGets all the child nodes of the node. (Inherited from XmlNode.)
Public propertyFirstChildGets the first child of the node. (Inherited from XmlNode.)
Public propertyHasChildNodesGets a value indicating whether this node has any child nodes. (Inherited from XmlNode.)
Public propertyInnerTextGets or sets the concatenated values of the node and all its child nodes. (Inherited from XmlNode.)
Public propertyInnerXmlGets the markup representing the children of this node. (Overrides XmlNode.InnerXml.)
Public propertyIsReadOnlyGets a value indicating whether the node is read-only. (Overrides XmlNode.IsReadOnly.)
Public propertyItem(String)Gets the first child element with the specified Name. (Inherited from XmlNode.)
Public propertyItem(String, String)Gets the first child element with the specified LocalName and NamespaceURI. (Inherited from XmlNode.)
Public propertyLastChildGets the last child of the node. (Inherited from XmlNode.)
Public propertyLocalNameGets the name of the current node without the namespace prefix. (Overrides XmlNode.LocalName.)
Public propertyNameGets the name of the current node. (Overrides XmlNode.Name.)
Public propertyNamespaceURIGets the namespace URI of this node. (Inherited from XmlNode.)
Public propertyNextSiblingGets the node immediately following this node. (Inherited from XmlNode.)
Public propertyNodeTypeGets the type of the current node. (Overrides XmlNode.NodeType.)
Public propertyOuterXmlGets the markup representing this node and all its children. (Overrides XmlNode.OuterXml.)
Public propertyOwnerDocumentGets the XmlDocument to which this node belongs. (Inherited from XmlNode.)
Public propertyParentNodeGets the parent of this node (for nodes that can have parents). (Inherited from XmlNode.)
Public propertyPrefixGets or sets the namespace prefix of this node. (Inherited from XmlNode.)
Public propertyPreviousSiblingGets the node immediately preceding this node. (Inherited from XmlNode.)
Public propertyPublicIdGets the value of the public identifier on the notation declaration.
Public propertySchemaInfoGets the post schema validation infoset that has been assigned to this node as a result of schema validation. (Inherited from XmlNode.)
Public propertySystemIdGets the value of the system identifier on the notation declaration.
Public propertyValueGets or sets the value of the node. (Inherited from XmlNode.)
Top

  NameDescription
Public methodAppendChildAdds the specified node to the end of the list of child nodes, of this node. (Inherited from XmlNode.)
Public methodCloneCreates a duplicate of this node. (Inherited from XmlNode.)
Public methodCloneNodeCreates 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 methodCreateNavigatorCreates an XPathNavigator for navigating this object. (Inherited from XmlNode.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumeratorGet an enumerator that iterates through the child nodes in the current node. (Inherited from XmlNode.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetNamespaceOfPrefixLooks 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 methodGetPrefixOfNamespaceLooks 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 methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInsertAfterInserts the specified node immediately after the specified reference node. (Inherited from XmlNode.)
Public methodInsertBeforeInserts the specified node immediately before the specified reference node. (Inherited from XmlNode.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNormalizePuts 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 methodPrependChildAdds the specified node to the beginning of the list of child nodes for this node. (Inherited from XmlNode.)
Public methodRemoveAllRemoves all the child nodes and/or attributes of the current node. (Inherited from XmlNode.)
Public methodRemoveChildRemoves specified child node. (Inherited from XmlNode.)
Public methodReplaceChildReplaces the child node oldChild with newChild node. (Inherited from XmlNode.)
Public methodSelectNodes(String)Selects a list of nodes matching the XPath expression. (Inherited from XmlNode.)
Public methodSelectNodes(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 methodSelectSingleNode(String)Selects the first XmlNode that matches the XPath expression. (Inherited from XmlNode.)
Public methodSelectSingleNode(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 methodSupportsTests if the DOM implementation implements a specific feature. (Inherited from XmlNode.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteContentToSaves the children of the node to the specified XmlWriter. This method has no effect on XmlNotation nodes. (Overrides XmlNode.WriteContentTo(XmlWriter).)
Public methodWriteToSaves the node to the specified XmlWriter. This method has no effect on XmlNotation nodes. (Overrides XmlNode.WriteTo(XmlWriter).)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneable.CloneFor a description of this member, see XmlNode.Clone. (Inherited from XmlNode.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorFor a description of this member, see XmlNode.GetEnumerator. (Inherited from XmlNode.)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft