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
- OutKeywords.cs
- LicFileLicenseProvider.cs
- XmlReader.cs
- RowUpdatedEventArgs.cs
- HtmlTableCell.cs
- ClientRolePrincipal.cs
- HandlerBase.cs
- HtmlForm.cs
- CardSpaceException.cs
- GregorianCalendarHelper.cs
- ThemeDirectoryCompiler.cs
- SecurityContextSecurityTokenParameters.cs
- MultipleViewPatternIdentifiers.cs
- PaperSize.cs
- SHA384CryptoServiceProvider.cs
- PathFigureCollection.cs
- NavigatorInput.cs
- BoolExpr.cs
- StoragePropertyMapping.cs
- documentsequencetextview.cs
- CodeTypeMemberCollection.cs
- BaseCodePageEncoding.cs
- DataColumnCollection.cs
- SqlDataSourceQueryEditorForm.cs
- JsonReader.cs
- BindingRestrictions.cs
- SqlCacheDependencyDatabaseCollection.cs
- WmlValidationSummaryAdapter.cs
- TextDecoration.cs
- Type.cs
- RuleProcessor.cs
- HostingEnvironment.cs
- SerialStream.cs
- ScriptingSectionGroup.cs
- RegisteredHiddenField.cs
- EdmPropertyAttribute.cs
- TableLayoutCellPaintEventArgs.cs
- ZeroOpNode.cs
- ZipIOLocalFileBlock.cs
- PageParserFilter.cs
- UserUseLicenseDictionaryLoader.cs
- SerializationObjectManager.cs
- DefinitionUpdate.cs
- SqlProcedureAttribute.cs
- WindowsScroll.cs
- ObjectDataSourceFilteringEventArgs.cs
- DbConnectionPoolOptions.cs
- SqlUtil.cs
- OrderingInfo.cs
- NetworkAddressChange.cs
- DataGridItemAutomationPeer.cs
- EntityDataSourceViewSchema.cs
- DatagridviewDisplayedBandsData.cs
- ReflectEventDescriptor.cs
- ListViewUpdatedEventArgs.cs
- BitSet.cs
- MatchAttribute.cs
- OAVariantLib.cs
- ToolboxComponentsCreatedEventArgs.cs
- AnnotationAuthorChangedEventArgs.cs
- TextRangeBase.cs
- HttpGetServerProtocol.cs
- Closure.cs
- WebPartExportVerb.cs
- Timeline.cs
- EntityRecordInfo.cs
- ToolStripPanelRenderEventArgs.cs
- WmlImageAdapter.cs
- TextTabProperties.cs
- HttpRuntimeSection.cs
- EntityRecordInfo.cs
- SubpageParagraph.cs
- DataSourceViewSchemaConverter.cs
- ReferencedCollectionType.cs
- DiscoveryInnerClientManaged11.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- UIElementAutomationPeer.cs
- CultureSpecificCharacterBufferRange.cs
- TraceHwndHost.cs
- WebServiceTypeData.cs
- GZipUtils.cs
- RangeValidator.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- XmlnsCache.cs
- configsystem.cs
- ComponentDesigner.cs
- UiaCoreTypesApi.cs
- ProcessInputEventArgs.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- MethodBuilder.cs
- SchemaNamespaceManager.cs
- WindowsSecurityToken.cs
- SmiConnection.cs
- XmlParserContext.cs
- ListViewInsertionMark.cs
- ZipIOModeEnforcingStream.cs
- HttpHandlerAction.cs
- DCSafeHandle.cs
- XmlSchemaDatatype.cs
- MethodAccessException.cs