XmlSchemaAnnotation.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAnnotation.cs / 1 / XmlSchemaAnnotation.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
 
namespace System.Xml.Schema { 

    using System.Collections; 
    using System.Xml.Serialization;

    /// 
    ///  
    ///    [To be supplied.]
    ///  
    public class XmlSchemaAnnotation : XmlSchemaObject { 
        string id;
        XmlSchemaObjectCollection items = new XmlSchemaObjectCollection(); 
        XmlAttribute[] moreAttributes;

        /// 
        ///  
        ///    [To be supplied.]
        ///  
        [XmlAttribute("id", DataType = "ID")] 
        public string Id {
            get { return id; } 
            set { id = value; }
        }

        ///  
        /// 
        ///    [To be supplied.] 
        ///  
        [XmlElement("documentation", typeof(XmlSchemaDocumentation)),
         XmlElement("appinfo", typeof(XmlSchemaAppInfo))] 
        public XmlSchemaObjectCollection Items {
            get { return items; }
        }
 
        /// 
        ///  
        ///    [To be supplied.] 
        /// 
        [XmlAnyAttribute] 
        public XmlAttribute[] UnhandledAttributes {
            get { return moreAttributes; }
            set { moreAttributes = value; }
        } 

        [XmlIgnore] 
        internal override string IdAttribute { 
            get { return Id; }
            set { Id = value; } 
        }

        internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
            this.moreAttributes = moreAttributes; 
        }
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK