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
- FieldMetadata.cs
- MasterPageParser.cs
- IfAction.cs
- StylusOverProperty.cs
- XpsPackagingPolicy.cs
- ReadOnlyDictionary.cs
- RoleManagerModule.cs
- EventBookmark.cs
- TreeView.cs
- CodeIndexerExpression.cs
- SpanIndex.cs
- SourceChangedEventArgs.cs
- CodeTypeDeclarationCollection.cs
- HttpCachePolicyElement.cs
- MdImport.cs
- SessionPageStateSection.cs
- TemplateControl.cs
- DataViewManagerListItemTypeDescriptor.cs
- DependencyPropertyKind.cs
- ContentFilePart.cs
- TextureBrush.cs
- CSharpCodeProvider.cs
- Permission.cs
- BamlCollectionHolder.cs
- TemplateManager.cs
- SocketElement.cs
- VisualState.cs
- CodeMemberProperty.cs
- AstNode.cs
- XMLSyntaxException.cs
- _LoggingObject.cs
- WpfGeneratedKnownTypes.cs
- _ConnectionGroup.cs
- SQLDateTime.cs
- ProfilePropertyNameValidator.cs
- ServicePoint.cs
- FunctionImportElement.cs
- StructuredType.cs
- KeyPressEvent.cs
- URLMembershipCondition.cs
- BCLDebug.cs
- IsolatedStorageSecurityState.cs
- MemberInfoSerializationHolder.cs
- EntityDataSourceEntityTypeFilterItem.cs
- EntityDataSourceStatementEditor.cs
- AsyncOperationManager.cs
- IndexedGlyphRun.cs
- RuntimeArgumentHandle.cs
- TreeViewBindingsEditorForm.cs
- ReadOnlyCollection.cs
- DetailsViewDeleteEventArgs.cs
- InputEventArgs.cs
- CodeMethodMap.cs
- UITypeEditor.cs
- StyleTypedPropertyAttribute.cs
- GlyphCache.cs
- PseudoWebRequest.cs
- ListViewContainer.cs
- DeclaredTypeElement.cs
- ConfigurationElementProperty.cs
- FontFamily.cs
- MarkupExtensionParser.cs
- MembershipPasswordException.cs
- BitmapEffectGeneralTransform.cs
- DigestComparer.cs
- Decimal.cs
- ErrorItem.cs
- NetWebProxyFinder.cs
- IIS7UserPrincipal.cs
- ZipIOBlockManager.cs
- SystemNetHelpers.cs
- MatrixIndependentAnimationStorage.cs
- HttpListenerRequestUriBuilder.cs
- SpanIndex.cs
- CodeObjectCreateExpression.cs
- WinFormsSpinner.cs
- WebCategoryAttribute.cs
- RootBrowserWindowProxy.cs
- Catch.cs
- Floater.cs
- ExpandSegment.cs
- IdentitySection.cs
- DataBoundControlAdapter.cs
- ThreadAbortException.cs
- ColumnClickEvent.cs
- AnnotationResourceChangedEventArgs.cs
- DataControlFieldTypeEditor.cs
- IERequestCache.cs
- SerTrace.cs
- PopupRootAutomationPeer.cs
- SafeFileMapViewHandle.cs
- BrowserTree.cs
- ComponentSerializationService.cs
- EntryIndex.cs
- StringConverter.cs
- ZipIOExtraFieldZip64Element.cs
- WsdlParser.cs
- Pens.cs
- SharedConnectionWorkflowTransactionService.cs
- LinkLabelLinkClickedEvent.cs