Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / BufferModesCollection.cs / 2 / BufferModesCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.Globalization; using System.IO; using System.Text; using System.ComponentModel; using System.Web.Hosting; using System.Web.Util; using System.Web.Configuration; using System.Web.Management; using System.Web.Compilation; using System.Security.Permissions; [ConfigurationCollection(typeof(BufferModeSettings))] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class BufferModesCollection : ConfigurationElementCollection { private static ConfigurationPropertyCollection _properties; static BufferModesCollection() { // Property initialization _properties = new ConfigurationPropertyCollection(); } public BufferModesCollection() { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } public void Add(BufferModeSettings bufferModeSettings) { BaseAdd(bufferModeSettings); } public void Remove(String s) { BaseRemove(s); } public void Clear() { BaseClear(); } protected override ConfigurationElement CreateNewElement() { return new BufferModeSettings(); } protected override Object GetElementKey(ConfigurationElement element) { return ((BufferModeSettings)element).Name; } public new BufferModeSettings this[string key] { get { return (BufferModeSettings)BaseGet(key); } } public BufferModeSettings this[int index] { get { return (BufferModeSettings)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index, value); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TouchesOverProperty.cs
- HtmlInputCheckBox.cs
- ReflectPropertyDescriptor.cs
- WebPartUserCapability.cs
- HttpProcessUtility.cs
- AliasGenerator.cs
- XmlSchemaCollection.cs
- Utility.cs
- Exceptions.cs
- FileCodeGroup.cs
- PropertyCollection.cs
- PerfCounters.cs
- AutomationPropertyInfo.cs
- DateTimeParse.cs
- SafeMILHandleMemoryPressure.cs
- SoapDocumentMethodAttribute.cs
- HtmlTableCellCollection.cs
- TypeFieldSchema.cs
- SafeNativeMethodsOther.cs
- AccessDataSourceView.cs
- ToolStripContainer.cs
- DataGridViewCellStyleConverter.cs
- Scripts.cs
- Style.cs
- PenCursorManager.cs
- BamlResourceSerializer.cs
- Stackframe.cs
- EdgeProfileValidation.cs
- TypeExtension.cs
- HttpCookiesSection.cs
- DataTemplateKey.cs
- ObjectDataSourceMethodEventArgs.cs
- AsymmetricSignatureFormatter.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- XPathDocument.cs
- RecognizerStateChangedEventArgs.cs
- WebServiceHandlerFactory.cs
- UIPropertyMetadata.cs
- ConnectionConsumerAttribute.cs
- VectorConverter.cs
- XmlTextAttribute.cs
- X509RawDataKeyIdentifierClause.cs
- Point4DConverter.cs
- Page.cs
- TempFiles.cs
- DbTransaction.cs
- CaretElement.cs
- TextBoxRenderer.cs
- DataServiceHostFactory.cs
- AuthenticateEventArgs.cs
- Evidence.cs
- ZoneIdentityPermission.cs
- SymbolEqualComparer.cs
- Scene3D.cs
- CollectionDataContract.cs
- MultiBinding.cs
- WpfXamlMember.cs
- WindowsListViewItemStartMenu.cs
- HttpResponseHeader.cs
- WSFederationHttpSecurityMode.cs
- TerminatorSinks.cs
- SourceLineInfo.cs
- SeekStoryboard.cs
- XmlLanguageConverter.cs
- ParserHooks.cs
- InternalResources.cs
- ApplicationId.cs
- LayoutTable.cs
- X509Utils.cs
- Variable.cs
- SimpleBitVector32.cs
- WebBrowserContainer.cs
- AsyncOperationManager.cs
- StoreContentChangedEventArgs.cs
- infer.cs
- DataStreamFromComStream.cs
- CustomLineCap.cs
- RefExpr.cs
- RuleEngine.cs
- AdornedElementPlaceholder.cs
- CharUnicodeInfo.cs
- DebugInfoGenerator.cs
- AstTree.cs
- Activator.cs
- FixedSOMContainer.cs
- CodeMemberEvent.cs
- TextDecorationLocationValidation.cs
- XmlProcessingInstruction.cs
- TabControlCancelEvent.cs
- ApplicationServiceHelper.cs
- DataGridViewSortCompareEventArgs.cs
- UxThemeWrapper.cs
- ListMarkerSourceInfo.cs
- XmlSchemaImporter.cs
- SamlSubject.cs
- AddInController.cs
- ListViewSortEventArgs.cs
- SurrogateSelector.cs
- FilterEventArgs.cs
- DataColumnMappingCollection.cs