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
- ConnectionStringsExpressionBuilder.cs
- HttpResponse.cs
- TabControlEvent.cs
- TabControlEvent.cs
- TimeoutException.cs
- BadImageFormatException.cs
- Ipv6Element.cs
- ResourceSet.cs
- AnnotationAuthorChangedEventArgs.cs
- AgileSafeNativeMemoryHandle.cs
- LicenseProviderAttribute.cs
- RuntimeWrappedException.cs
- StyleXamlParser.cs
- ConditionalDesigner.cs
- XmlSerializer.cs
- MultitargetUtil.cs
- TextEditor.cs
- ControlAdapter.cs
- CryptoApi.cs
- ChildrenQuery.cs
- DataGridViewCellMouseEventArgs.cs
- DataSourceControl.cs
- DataGridPagingPage.cs
- HMACSHA384.cs
- ToolboxItemFilterAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- OpCellTreeNode.cs
- MultiByteCodec.cs
- DesignerEditorPartChrome.cs
- Tag.cs
- FormatterConverter.cs
- GridViewPageEventArgs.cs
- SiteOfOriginPart.cs
- WindowsFormsDesignerOptionService.cs
- FunctionParameter.cs
- AttributeEmitter.cs
- FieldNameLookup.cs
- ActionFrame.cs
- EventHandlerList.cs
- Shared.cs
- AppDomainCompilerProxy.cs
- Attributes.cs
- ChangeBlockUndoRecord.cs
- RawStylusSystemGestureInputReport.cs
- CompilationSection.cs
- BCLDebug.cs
- HttpResponseInternalBase.cs
- XmlQueryRuntime.cs
- TextStore.cs
- Tracer.cs
- ParseChildrenAsPropertiesAttribute.cs
- WebPartDescriptionCollection.cs
- XmlComment.cs
- CorrelationManager.cs
- AssemblyAttributes.cs
- BasicSecurityProfileVersion.cs
- WebEventTraceProvider.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- WindowsProgressbar.cs
- DropShadowBitmapEffect.cs
- WorkflowApplicationEventArgs.cs
- GridViewColumnHeader.cs
- EntityContainerEntitySet.cs
- XPathParser.cs
- GrammarBuilder.cs
- ArraySet.cs
- PackageDigitalSignature.cs
- Literal.cs
- FastEncoder.cs
- SafeEventLogWriteHandle.cs
- ConnectionStringSettings.cs
- CatalogZoneDesigner.cs
- Evaluator.cs
- DesignerTransaction.cs
- XmlNodeChangedEventManager.cs
- ToolStripPanelDesigner.cs
- WindowsListViewGroupSubsetLink.cs
- EntityDataSourceDataSelectionPanel.cs
- TransactedBatchingBehavior.cs
- CommunicationObjectFaultedException.cs
- UnsafeNativeMethodsMilCoreApi.cs
- EventPropertyMap.cs
- TabControl.cs
- PlatformCulture.cs
- CroppedBitmap.cs
- ToolStrip.cs
- _IPv6Address.cs
- Publisher.cs
- XDeferredAxisSource.cs
- XmlILConstructAnalyzer.cs
- ToggleButton.cs
- Command.cs
- Object.cs
- RuleConditionDialog.Designer.cs
- ArithmeticException.cs
- XmlChildEnumerator.cs
- Privilege.cs
- EntityDataSourceView.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- UnsafeNativeMethods.cs