SoapAttributeAttribute.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / SoapAttributeAttribute.cs / 1 / SoapAttributeAttribute.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
 
namespace System.Xml.Serialization { 
    using System;
 
    /// 
    /// 
    ///    [To be supplied.]
    ///  
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
    public class SoapAttributeAttribute : System.Attribute { 
        string attributeName; 
        string ns;
        string dataType; 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public SoapAttributeAttribute() { 
        } 

        ///  
        /// 
        ///    [To be supplied.]
        /// 
        public SoapAttributeAttribute(string attributeName) { 
            this.attributeName = attributeName;
        } 
 
        /// 
        ///  
        ///    [To be supplied.]
        /// 
        public string AttributeName {
            get { return attributeName == null ? string.Empty : attributeName; } 
            set { attributeName = value; }
        } 
 
        /// 
        ///  
        ///    [To be supplied.]
        /// 
        public string Namespace {
            get { return ns; } 
            set { ns = value; }
        } 
 
        /// 
        ///  
        ///    [To be supplied.]
        /// 
        public string DataType {
            get { return dataType == null ? string.Empty : dataType; } 
            set { dataType = 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