Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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);
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HighlightVisual.cs
- ConfigurationSection.cs
- NTAccount.cs
- Asn1IntegerConverter.cs
- ConstraintCollection.cs
- AutomationElementIdentifiers.cs
- HotCommands.cs
- BigInt.cs
- COSERVERINFO.cs
- JournalEntryStack.cs
- SpeakProgressEventArgs.cs
- PartialTrustValidationBehavior.cs
- SystemKeyConverter.cs
- MemberInfoSerializationHolder.cs
- SelectionChangedEventArgs.cs
- AppDomainProtocolHandler.cs
- MinimizableAttributeTypeConverter.cs
- Literal.cs
- MappedMetaModel.cs
- Style.cs
- _HTTPDateParse.cs
- RuntimeHandles.cs
- DbExpressionVisitor.cs
- HttpWebRequest.cs
- ValidatorUtils.cs
- EditorPart.cs
- AnnotationResourceChangedEventArgs.cs
- FrameworkPropertyMetadata.cs
- MachineKeyConverter.cs
- ItemCollection.cs
- FieldMetadata.cs
- SqlCacheDependency.cs
- MappingItemCollection.cs
- Point3D.cs
- CssClassPropertyAttribute.cs
- CroppedBitmap.cs
- TrackingServices.cs
- UInt16.cs
- CommonGetThemePartSize.cs
- ReadOnlyHierarchicalDataSourceView.cs
- StylusOverProperty.cs
- ArraySegment.cs
- DataGrid.cs
- SymbolUsageManager.cs
- DirectoryRootQuery.cs
- MaskDescriptor.cs
- FullTextState.cs
- UIHelper.cs
- WebDescriptionAttribute.cs
- DataListCommandEventArgs.cs
- IPEndPoint.cs
- Rfc2898DeriveBytes.cs
- CommonDialog.cs
- PartBasedPackageProperties.cs
- RemoveFromCollection.cs
- sortedlist.cs
- WeakReferenceEnumerator.cs
- MultiView.cs
- CancellationHandler.cs
- AsyncCodeActivityContext.cs
- MessageEncodingBindingElement.cs
- LogSwitch.cs
- TrustSection.cs
- ColumnResizeAdorner.cs
- SystemParameters.cs
- BaseComponentEditor.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- SqlColumnizer.cs
- XmlSchemaSimpleType.cs
- InputScopeConverter.cs
- ResourceDescriptionAttribute.cs
- ImageList.cs
- MetadataFile.cs
- SafeReversePInvokeHandle.cs
- safex509handles.cs
- Visual3D.cs
- BuilderPropertyEntry.cs
- ApplicationFileParser.cs
- XamlRtfConverter.cs
- CachedTypeface.cs
- BinaryNode.cs
- MemberMemberBinding.cs
- XPathNodeInfoAtom.cs
- LiteralLink.cs
- FormsAuthenticationEventArgs.cs
- MouseBinding.cs
- Identifier.cs
- _IPv6Address.cs
- InvalidEnumArgumentException.cs
- EventProviderTraceListener.cs
- XmlIgnoreAttribute.cs
- DuplexSecurityProtocolFactory.cs
- BaseAddressElement.cs
- BmpBitmapEncoder.cs
- Focus.cs
- _BaseOverlappedAsyncResult.cs
- SqlDataSourceTableQuery.cs
- WindowPatternIdentifiers.cs
- CategoryGridEntry.cs
- BasePattern.cs