O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ValidationType

Synopsis

This enumeration is used by XmlValidatingReader to determine the type of validation requested: DTD, schema, XDR, or no validation. If the type is set to Auto, the validation type is determined from the document; if there is a reference to a DTD, then DTD-style validation is performed. This is also true if the document contains references to XML Schema types, and so on. (See XmlValidatingReader for details.)

public enum ValidationType {
   None = 0,
   Auto = 1,
   DTD = 2,
   XDR = 3,
   Schema = 4
}

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)ValidationType

Returned By

XmlValidatingReader.ValidationType

Passed To

XmlValidatingReader.ValidationType

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required