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
- AnnotationResource.cs
- ISessionStateStore.cs
- PrintingPermission.cs
- DiscoveryMessageSequenceGenerator.cs
- BindingWorker.cs
- StrongNameUtility.cs
- SmtpAuthenticationManager.cs
- XmlEntityReference.cs
- WmpBitmapEncoder.cs
- GridViewUpdateEventArgs.cs
- DataServiceBuildProvider.cs
- DynamicRenderer.cs
- MulticastOption.cs
- SQLMoney.cs
- TransformedBitmap.cs
- PageHandlerFactory.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- SqlDataAdapter.cs
- HorizontalAlignConverter.cs
- odbcmetadatacollectionnames.cs
- PersonalizationProviderCollection.cs
- NumberAction.cs
- xml.cs
- MessageDecoder.cs
- ModelChangedEventArgsImpl.cs
- ResXDataNode.cs
- FontResourceCache.cs
- BitmapEffect.cs
- StylusPlugInCollection.cs
- WebPartConnectVerb.cs
- ChannelOptions.cs
- LambdaCompiler.cs
- _FtpControlStream.cs
- ToolBarButton.cs
- SelectorItemAutomationPeer.cs
- JsonEncodingStreamWrapper.cs
- HttpRequestMessageProperty.cs
- AttributeEmitter.cs
- ResponseStream.cs
- MediaElementAutomationPeer.cs
- SizeF.cs
- XmlHierarchicalEnumerable.cs
- ScaleTransform.cs
- WindowsFormsHostAutomationPeer.cs
- BitmapEffect.cs
- DataPagerFieldCollection.cs
- DesignerSerializationManager.cs
- EpmTargetTree.cs
- LogSwitch.cs
- DetailsViewPageEventArgs.cs
- Geometry3D.cs
- WindowsButton.cs
- SamlAction.cs
- ObservableCollection.cs
- ControlBuilderAttribute.cs
- Currency.cs
- ParsedAttributeCollection.cs
- Html32TextWriter.cs
- Parsers.cs
- Point3DCollectionConverter.cs
- SqlNodeTypeOperators.cs
- DataGrid.cs
- ElementHostAutomationPeer.cs
- AssemblyCache.cs
- DynamicDataManager.cs
- PeerNodeTraceRecord.cs
- AvtEvent.cs
- TabRenderer.cs
- StylusPoint.cs
- FileDataSourceCache.cs
- ImageButton.cs
- CatalogPart.cs
- DataChangedEventManager.cs
- IsolatedStorageFilePermission.cs
- BatchParser.cs
- WsiProfilesElement.cs
- XsdCachingReader.cs
- BooleanConverter.cs
- LabelTarget.cs
- EventMap.cs
- ZipPackagePart.cs
- WindowsPrincipal.cs
- ResourcesBuildProvider.cs
- SessionPageStatePersister.cs
- SystemDropShadowChrome.cs
- ManagedCodeMarkers.cs
- ConfigurationCollectionAttribute.cs
- AnnotationHighlightLayer.cs
- ColorTransformHelper.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ImageMetadata.cs
- Baml6Assembly.cs
- ProtectedProviderSettings.cs
- FontStyleConverter.cs
- DropTarget.cs
- Literal.cs
- ListControl.cs
- GuidelineSet.cs
- RectangleGeometry.cs
- HtmlInputReset.cs