Name

XmlSchemaObject — System.Xml.Schema (system.xml.dll) CF 1.0 abstract class 

Synopsis

public abstract class XmlSchemaObject {
// Protected Constructors
   protected XmlSchemaObject( );  
// Public Instance Properties
   public int LineNumber{set; get; } 
   public int LinePosition{set; get; } 
   public XmlSerializerNamespaces Namespaces{set; get; } 
   public string SourceUri{set; get; } 
}

This abstract type is the base for all of the types that represent XML Schema elements. Its LineNumber and LinePosition properties provide information about the location of the element within the XML Schema document, and its SourceUri property provides information about the location of the source document itself. Although all the XML Schema types extend XmlSchemaObject, only XmlSchema and the three documentation types XmlSchemaAnnotation, XmlSchemaDocumentation, and XmlSchemaAppInfo do so directly; the rest extend the intermediate base types XmlSchemaAnnotated or XmlSchemaExternal.

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.