Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Xml.​Schema.​XmlSchemaComplexType
Assembly: System.Xml.ReaderWriter
Inheritance: object → XmlSchemaObject → XmlSchemaAnnotated → XmlSchemaType → XmlSchemaComplexType
Represents the <see langword="complexType" /> element from XML Schema as specified by the World Wide Web Consortium (W3C). This class defines a complex type that determines the set of attributes and content of an element.
Properties
public
XmlSchemaAnyAttribute
AnyAttribute
Gets or sets the value for the <see cref="T:System.Xml.Schema.XmlSchemaAnyAttribute" /> component of the complex type.
public
XmlSchemaObjectCollection
Attributes
Gets the collection of attributes for the complex type.
public
XmlSchemaObjectTable
AttributeUses
Gets the collection of all the complied attributes of this complex type and its base types.
public
XmlSchemaAnyAttribute
AttributeWildcard
Gets the post-compilation value for <see langword="anyAttribute" /> for this complex type and its base type(s).
public
XmlSchemaDerivationMethod
Block
Gets or sets the <see langword="block" /> attribute.
public
XmlSchemaDerivationMethod
BlockResolved
Gets the value after the type has been compiled to the post-schema-validation information set (infoset). This value indicates how the type is enforced when <see langword="xsi:type" /> is used in the instance document.
public
XmlSchemaContentModel
ContentModel
Gets or sets the post-compilation <see cref="T:System.Xml.Schema.XmlSchemaContentModel" /> of this complex type.
public
XmlSchemaContentType
ContentType
Gets the content model of the complex type that holds the post-compilation value.
public
XmlSchemaParticle
ContentTypeParticle
Gets the particle that holds the post-compilation value of the <see cref="P:System.Xml.Schema.XmlSchemaComplexType.ContentType" /> particle.
public
bool
IsAbstract
Gets or sets the information that determines if the <see langword="complexType" /> element can be used in the instance document.
public
bool
IsMixed
Gets or sets information that determines if the complex type has a mixed content model (markup within the content).
public
XmlSchemaParticle
Particle
Gets or sets the compositor type as one of the <see cref="T:System.Xml.Schema.XmlSchemaGroupRef" /> , <see cref="T:System.Xml.Schema.XmlSchemaChoice" /> , <see cref="T:System.Xml.Schema.XmlSchemaAll" /> , or <see cref="T:System.Xml.Schema.XmlSchemaSequence" /> classes.
public
object
BaseSchemaType
Gets the post-compilation object type or the built-in XML Schema Definition Language (XSD) data type, simpleType element, or complexType element. This is a post-schema-compilation infoset property.
public
XmlSchemaType
BaseXmlSchemaType
Gets the post-compilation value for the base type of this schema type.
public
XmlSchemaDatatype
Datatype
Gets the post-compilation value for the data type of the complex type.
public
XmlSchemaDerivationMethod
DerivedBy
Gets the post-compilation information on how this element was derived from its base type.
public
XmlSchemaDerivationMethod
Final
Gets or sets the final attribute of the type derivation that indicates if further derivations are allowed.
public
XmlSchemaDerivationMethod
FinalResolved
Gets the post-compilation value of the <see cref="P:System.Xml.Schema.XmlSchemaType.Final" /> property.
public
string
Name
Gets or sets the name of the type.
public
XmlQualifiedName
QualifiedName
Gets the qualified name for the type built from the <see langword="Name" /> attribute of this type. This is a post-schema-compilation property.
public
XmlTypeCode
TypeCode
Gets the <see cref="T:System.Xml.Schema.XmlTypeCode" /> of the type.
public
XmlSchemaAnnotation
Annotation
Gets or sets the <see langword="annotation" /> property.
public
string
Id
Gets or sets the string id.
public
XmlAttribute[]
UnhandledAttributes
Gets or sets the qualified attributes that do not belong to the current schema's target namespace.
public
int
LineNumber
Gets or sets the line number in the file to which the <see langword="schema" /> element refers.
public
int
LinePosition
Gets or sets the line position in the file to which the <see langword="schema" /> element refers.
Namespaces
Gets or sets the <see cref="T:System.Xml.Serialization.XmlSerializerNamespaces" /> to use with this schema object.
public
XmlSchemaObject
Parent
Gets or sets the parent of this <see cref="T:System.Xml.Schema.XmlSchemaObject" /> .
public
string
SourceUri
Gets or sets the source location for the file that loaded the schema.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object