Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigurationSettings.cs / 1305376 / ConfigurationSettings.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; public sealed class ConfigurationSettings { private ConfigurationSettings() {} [Obsolete("This method is obsolete, it has been replaced by System.Configuration!System." + "Configuration.ConfigurationManager.AppSettings")] public static NameValueCollection AppSettings { get { return ConfigurationManager.AppSettings; } } [Obsolete("This method is obsolete, it has been replaced by System.Configuration!System." + "Configuration.ConfigurationManager.GetSection")] public static object GetConfig(string sectionName) { return ConfigurationManager.GetSection( sectionName ); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; public sealed class ConfigurationSettings { private ConfigurationSettings() {} [Obsolete("This method is obsolete, it has been replaced by System.Configuration!System." + "Configuration.ConfigurationManager.AppSettings")] public static NameValueCollection AppSettings { get { return ConfigurationManager.AppSettings; } } [Obsolete("This method is obsolete, it has been replaced by System.Configuration!System." + "Configuration.ConfigurationManager.GetSection")] public static object GetConfig(string sectionName) { return ConfigurationManager.GetSection( sectionName ); } } } // 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
- Publisher.cs
- RequestUriProcessor.cs
- JsonGlobals.cs
- TimeStampChecker.cs
- HealthMonitoringSection.cs
- TextDecoration.cs
- ArrayWithOffset.cs
- WebPartCatalogAddVerb.cs
- BamlRecordHelper.cs
- CfgArc.cs
- BinaryCommonClasses.cs
- VerificationAttribute.cs
- Vector.cs
- Monitor.cs
- ChildrenQuery.cs
- FunctionImportMapping.cs
- DateTimeFormat.cs
- EncryptedData.cs
- DataRow.cs
- ZipIOExtraField.cs
- RangeValueProviderWrapper.cs
- FontDifferentiator.cs
- EditorPart.cs
- PTConverter.cs
- MasterPage.cs
- BatchWriter.cs
- SyndicationSerializer.cs
- CurrentChangingEventManager.cs
- EventData.cs
- CheckoutException.cs
- SQLConvert.cs
- ObjectAnimationBase.cs
- ExpressionsCollectionConverter.cs
- DynamicMetaObject.cs
- ConfigurationManager.cs
- CaseInsensitiveHashCodeProvider.cs
- RightsManagementPermission.cs
- ChtmlImageAdapter.cs
- sapiproxy.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ControlIdConverter.cs
- ExpressionTable.cs
- EditorPart.cs
- DataGridCell.cs
- EventDescriptorCollection.cs
- PropertyGrid.cs
- XmlSchemaObjectTable.cs
- ErrorFormatterPage.cs
- PerformanceCounterPermissionEntry.cs
- AutomationIdentifierGuids.cs
- GridViewRow.cs
- WindowsFormsDesignerOptionService.cs
- Vector3DIndependentAnimationStorage.cs
- ValueExpressions.cs
- EventLogPermission.cs
- activationcontext.cs
- Types.cs
- BorderGapMaskConverter.cs
- CalendarDay.cs
- SurrogateDataContract.cs
- EventListenerClientSide.cs
- ImageAutomationPeer.cs
- ConstraintConverter.cs
- CalculatedColumn.cs
- Clock.cs
- ErrorActivity.cs
- Selector.cs
- BitmapEffectDrawingContent.cs
- StructuralType.cs
- controlskin.cs
- TableCellsCollectionEditor.cs
- CellTreeNodeVisitors.cs
- XmlSchemaIdentityConstraint.cs
- TrustLevelCollection.cs
- CookieProtection.cs
- HttpGetProtocolReflector.cs
- OleDbStruct.cs
- DescendantQuery.cs
- ACE.cs
- InternalDispatchObject.cs
- MaskedTextBoxDesigner.cs
- XmlSchemaGroup.cs
- DataGridViewImageCell.cs
- SingleKeyFrameCollection.cs
- TableLayoutSettingsTypeConverter.cs
- ping.cs
- AxHost.cs
- TypeDescriptorContext.cs
- UIPropertyMetadata.cs
- Signature.cs
- COM2ColorConverter.cs
- ContainerParaClient.cs
- SystemMulticastIPAddressInformation.cs
- OdbcDataReader.cs
- SmtpException.cs
- Ray3DHitTestResult.cs
- CompilerError.cs
- Quaternion.cs
- ServiceMoniker.cs
- InstanceKeyCollisionException.cs