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
- PersistenceException.cs
- BoolExpressionVisitors.cs
- TemplateKey.cs
- Crypto.cs
- SystemParameters.cs
- ProtocolViolationException.cs
- Rect3DValueSerializer.cs
- SqlProviderManifest.cs
- DependencyObject.cs
- SystemSounds.cs
- SecurityTokenInclusionMode.cs
- BuildResultCache.cs
- BigInt.cs
- ValidationHelper.cs
- ObjectReaderCompiler.cs
- ChildTable.cs
- BuildDependencySet.cs
- NameSpaceExtractor.cs
- DecoderExceptionFallback.cs
- URL.cs
- MethodBuilderInstantiation.cs
- CodePropertyReferenceExpression.cs
- XmlDataCollection.cs
- CheckedPointers.cs
- OneOfTypeConst.cs
- MaterializeFromAtom.cs
- DeclarativeCatalogPart.cs
- FigureParagraph.cs
- RelationshipWrapper.cs
- WebBrowser.cs
- DataGridRow.cs
- ObjectIDGenerator.cs
- XmlAnyAttributeAttribute.cs
- NamespaceEmitter.cs
- OdbcConnectionString.cs
- CodeDirectionExpression.cs
- XmlBinaryReader.cs
- DataGridCell.cs
- MdImport.cs
- FileEnumerator.cs
- ServiceNameElement.cs
- MinMaxParagraphWidth.cs
- UrlAuthFailedErrorFormatter.cs
- EpmSyndicationContentSerializer.cs
- Switch.cs
- RuntimeConfigurationRecord.cs
- AccessControlList.cs
- ToolStripDropDownClosedEventArgs.cs
- RegexCompilationInfo.cs
- DataSetMappper.cs
- ShapeTypeface.cs
- TextServicesDisplayAttributePropertyRanges.cs
- FlowLayoutSettings.cs
- basenumberconverter.cs
- SettingsContext.cs
- ConfigurationFileMap.cs
- ProcessModelInfo.cs
- ObjectDataSourceDisposingEventArgs.cs
- SystemFonts.cs
- ObjectViewEntityCollectionData.cs
- XmlDataProvider.cs
- ObjRef.cs
- PostBackTrigger.cs
- _SSPISessionCache.cs
- MSHTMLHost.cs
- EntitySqlQueryBuilder.cs
- ImageBrush.cs
- OutputCacheProviderCollection.cs
- SelectedGridItemChangedEvent.cs
- Utils.cs
- QilValidationVisitor.cs
- ExpressionBuilder.cs
- FeedUtils.cs
- SynchronizationContext.cs
- CopyOnWriteList.cs
- InputReferenceExpression.cs
- FacetChecker.cs
- HwndSubclass.cs
- CSharpCodeProvider.cs
- AddInIpcChannel.cs
- UserControlBuildProvider.cs
- MailDefinition.cs
- FilterElement.cs
- DocumentPageView.cs
- SimplePropertyEntry.cs
- ItemList.cs
- ApplicationSettingsBase.cs
- WebReferencesBuildProvider.cs
- XmlProcessingInstruction.cs
- PersonalizationProviderHelper.cs
- LingerOption.cs
- Utils.cs
- SHA512.cs
- TripleDES.cs
- HttpRequestWrapper.cs
- DefaultBinder.cs
- ObjectConverter.cs
- EntityExpressionVisitor.cs
- BaseValidator.cs
- Axis.cs