Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / Collections / Specialized / CollectionsUtil.cs / 1 / CollectionsUtil.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
// Wrapper for a case insensitive Hashtable.
namespace System.Collections.Specialized {
using System.Collections;
///
/// [To be supplied.]
///
public class CollectionsUtil {
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable() {
return new Hashtable(StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable(int capacity) {
return new Hashtable(capacity, StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable(IDictionary d) {
return new Hashtable(d, StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static SortedList CreateCaseInsensitiveSortedList() {
return new SortedList(CaseInsensitiveComparer.Default);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
// Wrapper for a case insensitive Hashtable.
namespace System.Collections.Specialized {
using System.Collections;
///
/// [To be supplied.]
///
public class CollectionsUtil {
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable() {
return new Hashtable(StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable(int capacity) {
return new Hashtable(capacity, StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static Hashtable CreateCaseInsensitiveHashtable(IDictionary d) {
return new Hashtable(d, StringComparer.CurrentCultureIgnoreCase);
}
///
/// [To be supplied.]
///
public static SortedList CreateCaseInsensitiveSortedList() {
return new SortedList(CaseInsensitiveComparer.Default);
}
}
}
// 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
- RectangleGeometry.cs
- ConnectionStringsExpressionEditor.cs
- HebrewNumber.cs
- BrowserCapabilitiesCodeGenerator.cs
- GlobalDataBindingHandler.cs
- FormatterConverter.cs
- WebSysDescriptionAttribute.cs
- ViewEvent.cs
- XamlClipboardData.cs
- CombinedGeometry.cs
- DocumentPage.cs
- SmtpException.cs
- ValidatorCompatibilityHelper.cs
- ProfileService.cs
- AddInControllerImpl.cs
- WorkflowMarkupElementEventArgs.cs
- SecureStringHasher.cs
- SequentialUshortCollection.cs
- ProfilePropertyNameValidator.cs
- XPathScanner.cs
- TrackingProfileDeserializationException.cs
- ParameterCollection.cs
- DataPagerField.cs
- DataSourceSelectArguments.cs
- sqlser.cs
- SkipStoryboardToFill.cs
- ExpressionBinding.cs
- DataGridCommandEventArgs.cs
- DataContractJsonSerializerOperationFormatter.cs
- SchemaElement.cs
- ProtectedProviderSettings.cs
- SoapTypeAttribute.cs
- ProviderSettings.cs
- XPathNodePointer.cs
- ResXResourceReader.cs
- DataGridViewRowCollection.cs
- XPathNavigatorKeyComparer.cs
- XmlSchemaAnnotated.cs
- IERequestCache.cs
- DependencyPropertyKey.cs
- QilStrConcat.cs
- SiteOfOriginContainer.cs
- Panel.cs
- XmlIlTypeHelper.cs
- OracleBoolean.cs
- ContractMethodParameterInfo.cs
- TransformValueSerializer.cs
- TabletDeviceInfo.cs
- iisPickupDirectory.cs
- DbUpdateCommandTree.cs
- PublisherMembershipCondition.cs
- StringConverter.cs
- RegularExpressionValidator.cs
- XmlSchemaAttributeGroupRef.cs
- ControlParser.cs
- ToolStripItemClickedEventArgs.cs
- compensatingcollection.cs
- OdbcError.cs
- SecurityContextKeyIdentifierClause.cs
- ActivityTypeResolver.xaml.cs
- WebPartMenuStyle.cs
- Rect3DConverter.cs
- DesignerObject.cs
- ProvideValueServiceProvider.cs
- VarRemapper.cs
- DrawingImage.cs
- xmlformatgeneratorstatics.cs
- QilXmlWriter.cs
- ToolStripEditorManager.cs
- Span.cs
- BypassElementCollection.cs
- CultureInfo.cs
- InvalidCastException.cs
- BaseTemplateParser.cs
- AddInAttribute.cs
- NativeMethods.cs
- XmlCodeExporter.cs
- VectorCollectionConverter.cs
- SchemaDeclBase.cs
- WaveHeader.cs
- SettingsPropertyCollection.cs
- HttpPostedFile.cs
- DataControlPagerLinkButton.cs
- XpsSerializationManagerAsync.cs
- AssemblyBuilder.cs
- GridViewSortEventArgs.cs
- ScriptResourceHandler.cs
- ListManagerBindingsCollection.cs
- DocumentReference.cs
- TagPrefixAttribute.cs
- cache.cs
- ListViewInsertionMark.cs
- TypeSource.cs
- ExpandableObjectConverter.cs
- TableRow.cs
- SafeEventLogReadHandle.cs
- TreeWalker.cs
- compensatingcollection.cs
- RelationshipNavigation.cs
- SafePEFileHandle.cs