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
- Compiler.cs
- LinkLabelLinkClickedEvent.cs
- XPathPatternParser.cs
- TextEditorThreadLocalStore.cs
- ParentQuery.cs
- BamlRecordReader.cs
- BamlResourceContent.cs
- LinkedResourceCollection.cs
- PasswordRecoveryDesigner.cs
- MultiTouchSystemGestureLogic.cs
- EditorPartChrome.cs
- Compiler.cs
- ResXResourceSet.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- XsltLoader.cs
- PerformanceCounterPermissionEntryCollection.cs
- SmiXetterAccessMap.cs
- AsyncCompletedEventArgs.cs
- BuilderInfo.cs
- QueryContext.cs
- WorkflowItemPresenter.cs
- Token.cs
- DataListItem.cs
- RestHandler.cs
- BuildManager.cs
- XsltInput.cs
- ObfuscateAssemblyAttribute.cs
- SerialPinChanges.cs
- UserPreferenceChangingEventArgs.cs
- FixedPageProcessor.cs
- Logging.cs
- FrameworkElement.cs
- RolePrincipal.cs
- Rotation3D.cs
- InstancePersistenceCommand.cs
- MdImport.cs
- StringAttributeCollection.cs
- XmlEntityReference.cs
- DataGridColumnHeaderCollection.cs
- XmlSchemaType.cs
- SingleQueryOperator.cs
- DesignerTransactionCloseEvent.cs
- SR.cs
- ApplicationException.cs
- FastEncoderWindow.cs
- XmlSchemaImport.cs
- PresentationAppDomainManager.cs
- WebControlToolBoxItem.cs
- MessagePartSpecification.cs
- FacetValues.cs
- WebServiceReceiveDesigner.cs
- ObjectResult.cs
- Pkcs7Signer.cs
- XamlStackWriter.cs
- TreeWalkHelper.cs
- _NetworkingPerfCounters.cs
- DrawItemEvent.cs
- EventLogPermission.cs
- HtmlInputPassword.cs
- GenericWebPart.cs
- CompilerScopeManager.cs
- CodeValidator.cs
- Int64AnimationBase.cs
- Cursor.cs
- DateTimeConstantAttribute.cs
- PointConverter.cs
- AnyReturnReader.cs
- MethodCallConverter.cs
- SyndicationContent.cs
- WsatConfiguration.cs
- LambdaCompiler.Address.cs
- RectIndependentAnimationStorage.cs
- DictionaryEntry.cs
- MdiWindowListItemConverter.cs
- HMAC.cs
- SqlUtil.cs
- ObjectQueryState.cs
- Int16AnimationBase.cs
- EntityViewContainer.cs
- GridSplitterAutomationPeer.cs
- TextPenaltyModule.cs
- PanelStyle.cs
- RC2CryptoServiceProvider.cs
- TypeValidationEventArgs.cs
- BitHelper.cs
- SetState.cs
- TabControlEvent.cs
- MatrixValueSerializer.cs
- DataServiceBuildProvider.cs
- FontSizeConverter.cs
- RewritingValidator.cs
- serverconfig.cs
- Matrix3DStack.cs
- TreeView.cs
- AnnotationService.cs
- IndexOutOfRangeException.cs
- sqlser.cs
- GridViewUpdatedEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- HtmlInputControl.cs