DesignerActionItemCollection.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 / WinForms / System / WinForms / Design / DesignerActionItemCollection.cs / 1 / DesignerActionItemCollection.cs

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

namespace System.ComponentModel.Design { 
    using System; 
    using System.Collections;
 
    // 
    /// 
    ///     [tbd]
    ///  
    public class DesignerActionItemCollection : CollectionBase
    { 
        public DesignerActionItemCollection()    { 
        }
 
        public DesignerActionItem this[int index]  {
            get {
                return (DesignerActionItem)(List[index]);
            } 
            set {
                List[index] = value; 
            } 
        }
 
        public int Add(DesignerActionItem value)   {
            int index = List.Add(value);
            return index;
        } 

        public bool Contains(DesignerActionItem value)   { 
            return List.Contains(value); 
        }
 
        public void CopyTo(DesignerActionItem[] array, int index)    {
            List.CopyTo(array, index);
        }
 
        public int IndexOf(DesignerActionItem value)   {
            return List.IndexOf(value); 
        } 

        public void Insert(int index, DesignerActionItem value)   { 
            List.Insert(index, value);
        }

        public void Remove(DesignerActionItem value)     { 
            List.Remove(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