Skip to Content
.NET & XML
book

.NET & XML

by Niel M. Bornstein
November 2003
Intermediate to advanced
476 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from .NET & XML

Name

XmlSchemaElement — System.Xml.Schema (system.xml.dll)    class 

Synopsis

public class XmlSchemaElement : XmlSchemaParticle {
// Public Constructors
   public XmlSchemaElement( );  
// Public Instance Properties
   public XmlSchemaDerivationMethod Block{set; get; } 
   public XmlSchemaDerivationMethod BlockResolved{get; } 
   public XmlSchemaObjectCollection Constraints{get; } 
   public string DefaultValue{set; get; } 
   public object ElementType{get; } 
   public XmlSchemaDerivationMethod Final{set; get; } 
   public XmlSchemaDerivationMethod FinalResolved{get; } 
   public string FixedValue{set; get; } 
   public XmlSchemaForm Form{set; get; } 
   public bool IsAbstract{set; get; } 
   public bool IsNillable{set; get; } 
   public string Name{set; get; } 
   public XmlQualifiedName QualifiedName{get; } 
   public XmlQualifiedName RefName{set; get; } 
   public XmlSchemaType SchemaType{set; get; } 
   public XmlQualifiedName SchemaTypeName{set; get; } 
   public XmlQualifiedName SubstitutionGroup{set; get; } 
}

This type represents the xs:element element as a global or local definition, as a reference, or within xs:all, although in each of these cases, the valid values of its properties can differ. It provides the definition of an element. Its Block, DefaultValue, Final, FixedValue, Form, IsAbstract, IsNillable, Name, RefNameSchemaType, and SubstitutionGroup properties provide access to the block, default, final, fixed, form, abstract, nillable, name, ref, type, and substitutionGroup attributes, respectively. Constraints returns an ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied XML Programming for Microsoft® .NET

Applied XML Programming for Microsoft® .NET

Dino Esposito
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0596003978Supplemental ContentErrata