Export (0) Print
Expand All

XmlValidatingReader Members

XmlValidatingReader overview

Public Constructors

public constructorXmlValidatingReader Constructor Overloaded. Initializes a new instance of the XmlValidatingReader class.

Public Properties

public propertyAttributeCount Overridden. Gets the number of attributes on the current node.
public propertyBaseURI Overridden. Gets the base URI of the current node.
public propertyCanResolveEntity Overridden. Gets a value indicating whether this reader can parse and resolve entities.
public propertyDepth Overridden. Gets the depth of the current node in the XML document.
public propertyEncoding Gets the encoding attribute for the document.
public propertyEntityHandling Gets or sets a value that specifies how the reader handles entities.
public propertyEOF Overridden. Gets a value indicating whether the reader is positioned at the end of the stream.
public propertyHasAttributes (inherited from XmlReader) Gets a value indicating whether the current node has any attributes.
public propertyHasValue Overridden. Gets a value indicating whether the current node can have a Value.
public propertyIsDefault Overridden. Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.
public propertyIsEmptyElement Overridden. Gets a value indicating whether the current node is an empty element (for example, <MyElement/>).
public propertyItem Overloaded. Overridden. Gets the value of the specified attribute.

In C#, this property is the indexer for the XmlValidatingReader class.

public propertyLocalName Overridden. Gets the local name of the current node.
public propertyName Overridden. Gets the qualified name of the current node.
public propertyNamespaces Gets or sets a value indicating whether to do namespace support.
public propertyNamespaceURI Overridden. Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.
public propertyNameTable Overridden. Gets the XmlNameTable associated with this implementation.
public propertyNodeType Overridden. Gets the type of the current node.
public propertyPrefix Overridden. Gets the namespace prefix associated with the current node.
public propertyQuoteChar Overridden. Gets the quotation mark character used to enclose the value of an attribute node.
public propertyReader Gets the XmlReader used to construct this XmlValidatingReader.
public propertyReadState Overridden. Gets the state of the reader.
public propertySchemas Gets a XmlSchemaCollection to use for validation.
public propertySchemaType Gets a schema type object.
public propertyValidationType Gets a value describing what type of validation to perform.
public propertyValue Overridden. Gets the text value of the current node.
public propertyXmlLang Overridden. Gets the current xml:lang scope.
public propertyXmlResolver Sets the XmlResolver used for resolving external DTD and schema location references. The XmlResolver is also used to handle any import or include elements found in XML Schema definition language (XSD) schemas.
public propertyXmlSpace Overridden. Gets the current xml:space scope.

Public Methods

public methodClose Overridden. Changes the ReadState to Closed.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetAttribute Overloaded. Overridden. Gets the value of an attribute.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIsStartElement (inherited from XmlReader) Overloaded. Tests if the current content node is a start tag.
public methodLookupNamespace Overridden. Resolves a namespace prefix in the current element's scope.
public methodMoveToAttribute Overloaded. Overridden. Moves to the specified attribute.
public methodMoveToContent (inherited from XmlReader) Checks whether the current node is a content (non-white space text, CDATA, Element, EndElement, EntityReference, or EndEntity) node. If the node is not a content node, the reader skips ahead to the next content node or end of file. It skips over nodes of the following type: ProcessingInstruction, DocumentType, Comment, Whitespace, or SignificantWhitespace.
public methodMoveToElement Overridden. Moves to the element that contains the current attribute node.
public methodMoveToFirstAttribute Overridden. Moves to the first attribute.
public methodMoveToNextAttribute Overridden. Moves to the next attribute.
public methodRead Overridden. Reads the next node from the stream.
public methodReadAttributeValue Overridden. Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.
public methodReadElementString (inherited from XmlReader) Overloaded. This is a helper method for reading simple text-only elements.
public methodReadEndElement (inherited from XmlReader) Checks that the current content node is an end tag and advances the reader to the next node.
public methodReadInnerXml (inherited from XmlReader) When overridden in a derived class, reads all the content, including markup, as a string.
public methodReadOuterXml (inherited from XmlReader) When overridden in a derived class, reads the content, including markup, representing this node and all its children.
public methodReadStartElement (inherited from XmlReader) Overloaded. Checks that the current node is an element and advances the reader to the next node.
public methodReadString Overridden. Reads the contents of an element or text node as a string.
public methodReadTypedValue Gets the common language runtime type for the specified XML Schema definition language (XSD) type.
public methodResolveEntity Overridden. Resolves the entity reference for EntityReference nodes.
public methodSkip (inherited from XmlReader) Skips the children of the current node.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Public Events

public eventValidationEventHandler Sets an event handler for receiving information about DTD, XML-Data Reduced (XDR) schema, and XML Schema definition language (XSD) schema validation errors.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

XmlValidatingReader Class | System.Xml Namespace

Show:
© 2015 Microsoft