Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
// -----------------------------------------------------------------------------
//
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectListCommandsPage.cs
- TextBoxView.cs
- ClrPerspective.cs
- ObjectTag.cs
- DSASignatureDeformatter.cs
- ConditionValidator.cs
- ScrollData.cs
- TcpClientSocketManager.cs
- FocusManager.cs
- SendMailErrorEventArgs.cs
- FormattedText.cs
- ImageKeyConverter.cs
- FixedSOMTableRow.cs
- EntityClassGenerator.cs
- XmlDataLoader.cs
- Schema.cs
- Win32Native.cs
- IsolatedStorageFilePermission.cs
- XmlSchemaSimpleTypeRestriction.cs
- PerformanceCountersElement.cs
- ProxyWebPartManager.cs
- Unit.cs
- DefaultAssemblyResolver.cs
- DrawingCollection.cs
- XmlSerializerAssemblyAttribute.cs
- ImageSourceConverter.cs
- InternalResources.cs
- DBPropSet.cs
- ManagementClass.cs
- StackSpiller.Bindings.cs
- OverflowException.cs
- TokenBasedSetEnumerator.cs
- Registry.cs
- EditorPartCollection.cs
- Crc32Helper.cs
- LambdaValue.cs
- DataKey.cs
- WeakEventTable.cs
- WindowsAuthenticationEventArgs.cs
- DynamicVirtualDiscoSearcher.cs
- HtmlElementEventArgs.cs
- MonthChangedEventArgs.cs
- TdsParserStateObject.cs
- EditBehavior.cs
- TableRow.cs
- PointAnimationUsingKeyFrames.cs
- SetIterators.cs
- GeometryGroup.cs
- Misc.cs
- UrlMapping.cs
- ReadWriteSpinLock.cs
- SequentialWorkflowHeaderFooter.cs
- Predicate.cs
- ReflectionPermission.cs
- XPathDocumentBuilder.cs
- DateTimeFormatInfoScanner.cs
- SimpleBitVector32.cs
- WebPartCollection.cs
- EndpointBehaviorElementCollection.cs
- SafeCertificateContext.cs
- BulletChrome.cs
- SQlBooleanStorage.cs
- ExcludePathInfo.cs
- InternalControlCollection.cs
- SBCSCodePageEncoding.cs
- ResourceDefaultValueAttribute.cs
- InstanceLockedException.cs
- DynamicDiscoSearcher.cs
- XmlDownloadManager.cs
- SAPICategories.cs
- ConsoleCancelEventArgs.cs
- JsonEncodingStreamWrapper.cs
- CellRelation.cs
- BeginStoryboard.cs
- DetailsViewRow.cs
- RestrictedTransactionalPackage.cs
- WizardForm.cs
- PersonalizationAdministration.cs
- DataGridCaption.cs
- IPEndPoint.cs
- TemplateBamlTreeBuilder.cs
- ACL.cs
- SafeHandles.cs
- UpdatePanelTrigger.cs
- ReadOnlyObservableCollection.cs
- TextFormatterImp.cs
- DoubleLink.cs
- Html32TextWriter.cs
- PointConverter.cs
- SelectionEditor.cs
- WebServiceReceiveDesigner.cs
- Column.cs
- CodeDOMUtility.cs
- SoapFaultCodes.cs
- Decorator.cs
- ErrorHandler.cs
- ClientSettingsSection.cs
- MaterializeFromAtom.cs
- MainMenu.cs
- PointAnimationUsingKeyFrames.cs