536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
35 lines
1.4 KiB
C#
35 lines
1.4 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="XmlSchemaInclude.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Xml.Schema {
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
/// <include file='doc\XmlSchemaInclude.uex' path='docs/doc[@for="XmlSchemaInclude"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public class XmlSchemaInclude : XmlSchemaExternal {
|
|
XmlSchemaAnnotation annotation;
|
|
|
|
/// <include file='doc\XmlSchemaInclude.uex' path='docs/doc[@for="XmlSchemaInclude.XmlSchemaInclude"]/*' />
|
|
public XmlSchemaInclude() {
|
|
Compositor = Compositor.Include;
|
|
}
|
|
/// <include file='doc\XmlSchemaInclude.uex' path='docs/doc[@for="XmlSchemaInclude.Annotation"]/*' />
|
|
[XmlElement("annotation", typeof(XmlSchemaAnnotation))]
|
|
public XmlSchemaAnnotation Annotation {
|
|
get { return annotation; }
|
|
set { annotation = value; }
|
|
}
|
|
|
|
internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
|
|
this.annotation = annotation;
|
|
}
|
|
}
|
|
}
|