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
- SerializationHelper.cs
- XmlParserContext.cs
- UnhandledExceptionEventArgs.cs
- WebConfigurationHostFileChange.cs
- Stylesheet.cs
- Enum.cs
- HandlerFactoryWrapper.cs
- SqlSupersetValidator.cs
- AttributeCollection.cs
- FormView.cs
- invalidudtexception.cs
- ServiceOperationParameter.cs
- DefaultWorkflowSchedulerService.cs
- OneWayElement.cs
- RemoteWebConfigurationHostStream.cs
- Point3DAnimation.cs
- Hyperlink.cs
- Schedule.cs
- InternalConfigConfigurationFactory.cs
- NotCondition.cs
- WindowsGraphics2.cs
- DockPattern.cs
- DataServiceRequest.cs
- UInt16Converter.cs
- BitmapImage.cs
- MailAddressCollection.cs
- PointLight.cs
- RuleSettingsCollection.cs
- Rotation3D.cs
- PageContentCollection.cs
- MatchingStyle.cs
- FacetValues.cs
- XmlCountingReader.cs
- HealthMonitoringSectionHelper.cs
- NumericUpDown.cs
- InstanceBehavior.cs
- GestureRecognizer.cs
- AccessText.cs
- ConstraintStruct.cs
- ScalarOps.cs
- MachineKey.cs
- xml.cs
- PersonalizationProviderCollection.cs
- CodeGeneratorOptions.cs
- SqlConnectionHelper.cs
- EventListenerClientSide.cs
- ValueQuery.cs
- QilInvokeEarlyBound.cs
- InlinedAggregationOperatorEnumerator.cs
- prompt.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DateTimeConstantAttribute.cs
- GridViewActionList.cs
- RuleConditionDialog.Designer.cs
- ArrangedElement.cs
- UnknownBitmapEncoder.cs
- LinkButton.cs
- TabletDeviceInfo.cs
- FormParameter.cs
- FixedTextBuilder.cs
- FunctionMappingTranslator.cs
- ImageKeyConverter.cs
- ZipIOModeEnforcingStream.cs
- BuildManagerHost.cs
- KeyboardDevice.cs
- HttpResponse.cs
- CustomMenuItemCollection.cs
- CodeExporter.cs
- SystemTcpStatistics.cs
- TableSectionStyle.cs
- ColorTranslator.cs
- NavigationEventArgs.cs
- SerializerProvider.cs
- TextServicesProperty.cs
- FontEditor.cs
- SamlSecurityToken.cs
- Converter.cs
- MultiByteCodec.cs
- smtppermission.cs
- XmlUtil.cs
- ImageDrawing.cs
- StreamWriter.cs
- RawStylusInputCustomData.cs
- EventTrigger.cs
- UserNameServiceElement.cs
- AccessDataSourceView.cs
- TypeSemantics.cs
- PropertyInfoSet.cs
- ToolStripDropDownButton.cs
- ListBoxItem.cs
- Dictionary.cs
- WebDescriptionAttribute.cs
- ListMarkerSourceInfo.cs
- RealizationContext.cs
- Authorization.cs
- HttpProxyCredentialType.cs
- WmlLabelAdapter.cs
- Interlocked.cs
- TypeSystemHelpers.cs
- Unit.cs