InputLanguageCollection.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 / WinForms / Managed / System / WinForms / InputLanguageCollection.cs / 1 / InputLanguageCollection.cs

                            // ------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// ----------------------------------------------------------------------------- 
//
namespace System.Windows.Forms { 
    using System; 
    using System.Collections;
 

    /// 
    /// 
    ///      
    ///       A collection that stores  objects.
    ///     
    ///  
    public class InputLanguageCollection : ReadOnlyCollectionBase {
 
        /// 
        /// 
        ///     
        ///       Initializes a new instance of  containing any array of  objects. 
        ///    
        ///  
        internal InputLanguageCollection(InputLanguage[] value) { 
            InnerList.AddRange(value);
        } 

        /// 
        /// 
        /// Represents the entry at the specified index of the . 
        /// 
        public InputLanguage this[int index] { 
            get { 
                return ((InputLanguage)(InnerList[index]));
            } 
        }

        /// 
        ///  
        /// Gets a value indicating whether the
        ///     contains the specified . 
        ///  
        public bool Contains(InputLanguage value) {
            return InnerList.Contains(value); 
        }

        /// 
        ///  
        /// Copies the  values to a one-dimensional  instance at the
        ///    specified index. 
        ///  
        public void CopyTo(InputLanguage[] array, int index) {
            InnerList.CopyTo(array, index); 
        }

        /// 
        ///  
        ///    Returns the index of a  in
        ///       the  . 
        ///  
        public int IndexOf(InputLanguage value) {
            return InnerList.IndexOf(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