ContentDefinition.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 / Designer / WebForms / System / Web / UI / Design / ContentDefinition.cs / 1 / ContentDefinition.cs

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

namespace System.Web.UI.Design { 
 
    using System;
 
    /// 
    /// 
    /// 
    public class ContentDefinition { 

        private string _contentPlaceHolderID; 
        private string _defaultContent; 
        private string _defaultDesignTimeHTML;
 
        public ContentDefinition(string id, string content, string designTimeHtml ) {
            _contentPlaceHolderID = id;
            _defaultContent = content;
            _defaultDesignTimeHTML = designTimeHtml; 
        }
 
        ///  
        /// 
        public string ContentPlaceHolderID { 
            get {
                return _contentPlaceHolderID;
            }
        } 

        ///  
        ///  
        public string DefaultContent {
            get { 
                return _defaultContent;
            }
        }
 
        /// 
        ///  
        public string DefaultDesignTimeHtml { 
            get {
                return _defaultDesignTimeHTML; 
            }
        }
    }
} 


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