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
- OracleDataReader.cs
- QuaternionRotation3D.cs
- Helper.cs
- TypeConverter.cs
- MetafileHeaderWmf.cs
- XmlElement.cs
- InOutArgument.cs
- ActiveDocumentEvent.cs
- FloaterParagraph.cs
- Marshal.cs
- Popup.cs
- XmlDictionary.cs
- ParallelTimeline.cs
- UriParserTemplates.cs
- StateDesignerConnector.cs
- OverrideMode.cs
- XsdBuildProvider.cs
- DocumentAutomationPeer.cs
- WebBrowserHelper.cs
- EnumValidator.cs
- login.cs
- XmlSignatureProperties.cs
- PerformanceCounterCategory.cs
- HotCommands.cs
- ColorContextHelper.cs
- StringExpressionSet.cs
- RadioButton.cs
- PrivilegeNotHeldException.cs
- CompilerParameters.cs
- SecurityKeyUsage.cs
- DataSpaceManager.cs
- PageBreakRecord.cs
- TransactionFilter.cs
- ProfileService.cs
- VectorCollection.cs
- PolyQuadraticBezierSegment.cs
- SymbolEqualComparer.cs
- XmlElementList.cs
- ClassHandlersStore.cs
- LabelLiteral.cs
- TreeNodeConverter.cs
- DbConnectionFactory.cs
- DBConnectionString.cs
- SecurityElement.cs
- TextEndOfParagraph.cs
- CompilerTypeWithParams.cs
- XmlIlGenerator.cs
- Base64Decoder.cs
- User.cs
- AsyncOperationManager.cs
- TimeSpan.cs
- ReservationCollection.cs
- EmissiveMaterial.cs
- MediaCommands.cs
- UrlPath.cs
- HeaderedItemsControl.cs
- ScriptModule.cs
- LoadRetryConstantStrategy.cs
- DataObjectPastingEventArgs.cs
- path.cs
- OuterGlowBitmapEffect.cs
- SiteMapSection.cs
- UnwrappedTypesXmlSerializerManager.cs
- SmtpException.cs
- ListInitExpression.cs
- SoapParser.cs
- XmlDataLoader.cs
- SystemColorTracker.cs
- Emitter.cs
- EmbeddedMailObject.cs
- RowParagraph.cs
- MessagePropertyDescriptionCollection.cs
- ComMethodElementCollection.cs
- XmlSerializerFactory.cs
- ResourceCodeDomSerializer.cs
- HostedNamedPipeTransportManager.cs
- ObjectContext.cs
- ListenerConfig.cs
- TrackBar.cs
- Frame.cs
- bidPrivateBase.cs
- CompilationUtil.cs
- DependencyProperty.cs
- AsyncSerializedWorker.cs
- ToolStripSplitStackLayout.cs
- DataControlFieldCell.cs
- EnumMember.cs
- DBParameter.cs
- TextBox.cs
- WindowsBrush.cs
- ToolStripItemCollection.cs
- XmlValidatingReaderImpl.cs
- FileEnumerator.cs
- HttpApplication.cs
- FormViewDeleteEventArgs.cs
- ControlCachePolicy.cs
- OdbcConnectionPoolProviderInfo.cs
- Pair.cs
- KeyNotFoundException.cs
- EventLogPermission.cs