1 //------------------------------------------------------------------------------
2 // <copyright file="XmlSchemaImport.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml.Schema {
10 using System.Xml.Serialization;
12 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport"]/*' />
14 /// <para>[To be supplied.]</para>
16 public class XmlSchemaImport : XmlSchemaExternal {
18 XmlSchemaAnnotation annotation;
20 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.XmlSchemaImport"]/*' />
21 public XmlSchemaImport() {
22 Compositor = Compositor.Import;
25 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.Namespace"]/*' />
26 [XmlAttribute("namespace", DataType="anyURI")]
27 public string Namespace {
32 /// <include file='doc\XmlSchemaImport.uex' path='docs/doc[@for="XmlSchemaImport.Annotation"]/*' />
33 [XmlElement("annotation", typeof(XmlSchemaAnnotation))]
34 public XmlSchemaAnnotation Annotation {
35 get { return annotation; }
36 set { annotation = value; }
39 internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
40 this.annotation = annotation;