Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / SettingsProviderCollection.cs / 1305376 / SettingsProviderCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; using System.Runtime.Serialization; using System.Configuration.Provider; //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public class SettingsProviderCollection : ProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is SettingsProvider ) ) { throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(SettingsProvider).ToString()), "provider"); } base.Add( provider ); } new public SettingsProvider this[string name] { get { return (SettingsProvider) base[name]; } } } } // 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
- DrawListViewSubItemEventArgs.cs
- TextBounds.cs
- TreeNodeBinding.cs
- EntityDataSourceContextCreatedEventArgs.cs
- _emptywebproxy.cs
- AdPostCacheSubstitution.cs
- WebDescriptionAttribute.cs
- KnownAssembliesSet.cs
- GacUtil.cs
- ThousandthOfEmRealPoints.cs
- LoginAutoFormat.cs
- SQLDecimalStorage.cs
- storepermissionattribute.cs
- ListViewSortEventArgs.cs
- ClientTargetCollection.cs
- Rijndael.cs
- RangeValueProviderWrapper.cs
- LocationSectionRecord.cs
- EncryptedType.cs
- _BasicClient.cs
- CodeParameterDeclarationExpression.cs
- HasCopySemanticsAttribute.cs
- PerspectiveCamera.cs
- _ListenerAsyncResult.cs
- RSAPKCS1SignatureDeformatter.cs
- SequentialActivityDesigner.cs
- Attributes.cs
- HttpApplicationStateWrapper.cs
- MimeTextImporter.cs
- TableDetailsRow.cs
- HebrewNumber.cs
- ListChangedEventArgs.cs
- XsdCachingReader.cs
- MenuItem.cs
- grammarelement.cs
- CodeMethodReturnStatement.cs
- DocumentPaginator.cs
- WinEventHandler.cs
- SpellerHighlightLayer.cs
- BaseDataListActionList.cs
- ListCommandEventArgs.cs
- SystemIcmpV6Statistics.cs
- LongValidator.cs
- UIAgentMonitorHandle.cs
- SqlUserDefinedAggregateAttribute.cs
- HScrollProperties.cs
- BufferedResponseStream.cs
- XpsImageSerializationService.cs
- SectionXmlInfo.cs
- SrgsDocumentParser.cs
- DataGridViewAccessibleObject.cs
- CodeCompiler.cs
- ToolStripDesignerUtils.cs
- ProxyDataContractResolver.cs
- XmlCharCheckingReader.cs
- DataGridViewMethods.cs
- WebPartExportVerb.cs
- Int32Collection.cs
- ReferencedType.cs
- RelationshipWrapper.cs
- DataContext.cs
- ScrollViewer.cs
- XmlSchemaRedefine.cs
- Activator.cs
- Size3DConverter.cs
- AppearanceEditorPart.cs
- ToolStripDropDown.cs
- ArrayElementGridEntry.cs
- ServiceBehaviorElement.cs
- JsonFormatReaderGenerator.cs
- RenderData.cs
- RootBrowserWindow.cs
- DoubleKeyFrameCollection.cs
- LinkDescriptor.cs
- ViewSimplifier.cs
- PixelFormats.cs
- RestClientProxyHandler.cs
- KeyFrames.cs
- EntitySqlException.cs
- InternalBase.cs
- _FtpDataStream.cs
- XmlException.cs
- Thumb.cs
- GroupItemAutomationPeer.cs
- DefaultIfEmptyQueryOperator.cs
- RadioButtonAutomationPeer.cs
- ObjectDataSourceFilteringEventArgs.cs
- ListViewDeletedEventArgs.cs
- XmlSerializerImportOptions.cs
- DynamicScriptObject.cs
- ByteConverter.cs
- FormView.cs
- WmpBitmapDecoder.cs
- PolicyValidationException.cs
- Stroke.cs
- ControlPropertyNameConverter.cs
- BrowserCapabilitiesFactory.cs
- ThreadExceptionEvent.cs
- ComponentCommands.cs
- Pkcs9Attribute.cs