SoapEnumAttribute.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / SoapEnumAttribute.cs / 1 / SoapEnumAttribute.cs

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

    using System; 

    /// 
    /// 
    ///    [To be supplied.] 
    /// 
    [AttributeUsage(AttributeTargets.Field)] 
    public class SoapEnumAttribute : System.Attribute { 
        string name;
 
        /// 
        /// 
        ///    [To be supplied.]
        ///  
        public SoapEnumAttribute() {
        } 
 
        /// 
        ///  
        ///    [To be supplied.]
        /// 
        public SoapEnumAttribute(string name) {
            this.name = name; 
        }
 
        ///  
        /// 
        ///    [To be supplied.] 
        /// 
        public string Name {
            get { return name == null ? string.Empty : name; }
            set { name = value; } 
        }
    } 
 } 

// 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