Name

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

Synopsis

public class XmlSchemaComplexType : XmlSchemaType {
// Public Constructors
   public XmlSchemaComplexType( );  
// Public Instance Properties
   public XmlSchemaAnyAttribute AnyAttribute{set; get; } 
   public XmlSchemaObjectCollection Attributes{get; } 
   public XmlSchemaObjectTable AttributeUses{get; } 
   public XmlSchemaAnyAttribute AttributeWildcard{get; } 
   public XmlSchemaDerivationMethod Block{set; get; } 
   public XmlSchemaDerivationMethod BlockResolved{get; } 
   public XmlSchemaContentModel ContentModel{set; get; } 
   public XmlSchemaContentType ContentType{get; } 
   public XmlSchemaParticle ContentTypeParticle{get; } 
   public bool IsAbstract{set; get; } 
   public override bool IsMixed{set; get; }                           // overrides XmlSchemaType
   public XmlSchemaParticle Particle{set; get; } 
}

This type represents a xs:complexType element. The Block property allows access to the XmlSchemaDerivationMethod enumeration, which overrides the blockDefault attribute of the parent XmlSchema. The IsAbstract and IsMixed properties provide access to the abstract and mixed attributes. The content of the element can be accessed through the AnyAttribute, Attributes, and Particle properties.

Hierarchy

System.ObjectXmlSchemaObjectXmlSchemaAnnotatedXmlSchemaTypeXmlSchemaComplexType

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.