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
- HideDisabledControlAdapter.cs
- FrameworkContextData.cs
- AutoSizeToolBoxItem.cs
- LongAverageAggregationOperator.cs
- SQLByteStorage.cs
- EmptyEnumerator.cs
- Scalars.cs
- XmlEncodedRawTextWriter.cs
- ByteStreamMessageEncodingElement.cs
- CommandDevice.cs
- RegistryExceptionHelper.cs
- ConsumerConnectionPointCollection.cs
- CompoundFileDeflateTransform.cs
- XsltInput.cs
- SerializerDescriptor.cs
- ControlBindingsConverter.cs
- Icon.cs
- EntityEntry.cs
- OracleDateTime.cs
- MenuBase.cs
- OdbcParameterCollection.cs
- ISCIIEncoding.cs
- SizeConverter.cs
- WmlListAdapter.cs
- ThicknessConverter.cs
- Accessible.cs
- XsltLoader.cs
- StylusButtonCollection.cs
- Splitter.cs
- ToolStripDropTargetManager.cs
- ButtonBaseDesigner.cs
- DBSchemaRow.cs
- GridViewEditEventArgs.cs
- MenuItemStyleCollection.cs
- PropertyGridEditorPart.cs
- SchemaCollectionCompiler.cs
- ExceptionUtil.cs
- ECDiffieHellman.cs
- SchemaHelper.cs
- AnimationClock.cs
- Geometry.cs
- InvalidAsynchronousStateException.cs
- PointConverter.cs
- EmptyStringExpandableObjectConverter.cs
- Operator.cs
- DrawingContextDrawingContextWalker.cs
- ButtonBaseAutomationPeer.cs
- Overlapped.cs
- ApplicationSecurityInfo.cs
- TiffBitmapEncoder.cs
- _SafeNetHandles.cs
- SoapExtensionStream.cs
- dsa.cs
- RawStylusActions.cs
- FormsAuthentication.cs
- PropertyValueChangedEvent.cs
- IntranetCredentialPolicy.cs
- NavigationService.cs
- BridgeDataRecord.cs
- ContentOperations.cs
- ProfileSettingsCollection.cs
- ListDictionary.cs
- NamespaceInfo.cs
- CapabilitiesAssignment.cs
- CatalogZone.cs
- PostBackOptions.cs
- OutputCacheProfile.cs
- Lasso.cs
- PagesChangedEventArgs.cs
- WindowsListBox.cs
- HttpDictionary.cs
- ReadContentAsBinaryHelper.cs
- SqlProcedureAttribute.cs
- ObjectIDGenerator.cs
- HtmlProps.cs
- ComponentCollection.cs
- LayoutUtils.cs
- WorkflowPersistenceService.cs
- MessageQueueConverter.cs
- TerminatingOperationBehavior.cs
- CloseCollectionAsyncResult.cs
- FixedTextSelectionProcessor.cs
- BaseValidator.cs
- odbcmetadatacollectionnames.cs
- Rule.cs
- WebServiceBindingAttribute.cs
- ReliableChannelBinder.cs
- FontSourceCollection.cs
- OptimalBreakSession.cs
- EventRouteFactory.cs
- SettingsSavedEventArgs.cs
- SqlGenericUtil.cs
- unsafenativemethodstextservices.cs
- RequestCacheManager.cs
- PeerApplication.cs
- XmlDataImplementation.cs
- RoutedPropertyChangedEventArgs.cs
- Operator.cs
- DbConnectionPoolGroup.cs
- TextEndOfLine.cs