ProfilePropertyMetadata.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / ApplicationServices / ProfilePropertyMetadata.cs / 1305376 / ProfilePropertyMetadata.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Web.ApplicationServices 
{ 
    using System;
    using System.Runtime.Serialization; 

    [DataContract]
    public class ProfilePropertyMetadata : IExtensibleDataObject
    { 
        private ExtensionDataObject _extensionDataObject;
        private String _propertyName; 
 
        public ExtensionDataObject ExtensionData {
            get { 
                return _extensionDataObject;
            }
            set {
                _extensionDataObject = value; 
            }
        } 
 
        [DataMember]
        public String PropertyName 
        {
            get
            {
                return _propertyName; 
            }
            set 
            { 
                _propertyName = value;
            } 
        }

        private String _typeName;
        [DataMember] 
        public String TypeName
        { 
            get 
            {
                return _typeName; 
            }
            set
            {
                _typeName = value; 
            }
        } 
 
        private bool _allowAnonymousAccess;
        [DataMember] 
        public bool AllowAnonymousAccess
        {
            get
            { 
                return _allowAnonymousAccess;
            } 
            set 
            {
                _allowAnonymousAccess = value; 
            }
        }

        private bool _isReadOnly; 
        [DataMember]
        public bool IsReadOnly 
        { 
            get
            { 
                return _isReadOnly;
            }
            set
            { 
                _isReadOnly = value;
            } 
        } 
        /* Uncommnet once accessmode is available
        public ProfileServiceAccess _accessMode; 
        [DataMember]
        public ProfileServiceAccess AccessMode
        {
            get 
            {
                return _accessMode; 
            } 
            set
            { 
                _accessMode = value;
            }
        }
        */ 
        private int _serializeAs;
        [DataMember] 
        public int SerializeAs 
        {
            get 
            {
                return _serializeAs;
            }
            set 
            {
                _serializeAs = value; 
            } 
        }
 
        private string _defaultValue;
        [DataMember]
        public string DefaultValue
        { 
            get
            { 
                return _defaultValue; 
            }
            set 
            {
                _defaultValue = value;
            }
        } 
    }
} 

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

namespace System.Web.ApplicationServices 
{ 
    using System;
    using System.Runtime.Serialization; 

    [DataContract]
    public class ProfilePropertyMetadata : IExtensibleDataObject
    { 
        private ExtensionDataObject _extensionDataObject;
        private String _propertyName; 
 
        public ExtensionDataObject ExtensionData {
            get { 
                return _extensionDataObject;
            }
            set {
                _extensionDataObject = value; 
            }
        } 
 
        [DataMember]
        public String PropertyName 
        {
            get
            {
                return _propertyName; 
            }
            set 
            { 
                _propertyName = value;
            } 
        }

        private String _typeName;
        [DataMember] 
        public String TypeName
        { 
            get 
            {
                return _typeName; 
            }
            set
            {
                _typeName = value; 
            }
        } 
 
        private bool _allowAnonymousAccess;
        [DataMember] 
        public bool AllowAnonymousAccess
        {
            get
            { 
                return _allowAnonymousAccess;
            } 
            set 
            {
                _allowAnonymousAccess = value; 
            }
        }

        private bool _isReadOnly; 
        [DataMember]
        public bool IsReadOnly 
        { 
            get
            { 
                return _isReadOnly;
            }
            set
            { 
                _isReadOnly = value;
            } 
        } 
        /* Uncommnet once accessmode is available
        public ProfileServiceAccess _accessMode; 
        [DataMember]
        public ProfileServiceAccess AccessMode
        {
            get 
            {
                return _accessMode; 
            } 
            set
            { 
                _accessMode = value;
            }
        }
        */ 
        private int _serializeAs;
        [DataMember] 
        public int SerializeAs 
        {
            get 
            {
                return _serializeAs;
            }
            set 
            {
                _serializeAs = value; 
            } 
        }
 
        private string _defaultValue;
        [DataMember]
        public string DefaultValue
        { 
            get
            { 
                return _defaultValue; 
            }
            set 
            {
                _defaultValue = value;
            }
        } 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

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