Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Net / System / Net / Configuration / Ipv6Element.cs / 1 / Ipv6Element.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Reflection; using System.Security.Permissions; public sealed class Ipv6Element : ConfigurationElement { public Ipv6Element() { this.properties.Add(this.enabled); } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } [ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue = false)] public bool Enabled { get { return (bool)this[this.enabled]; } set { this[this.enabled] = value; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty enabled = new ConfigurationProperty(ConfigurationStrings.Enabled, typeof(bool), false, ConfigurationPropertyOptions.None); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Reflection; using System.Security.Permissions; public sealed class Ipv6Element : ConfigurationElement { public Ipv6Element() { this.properties.Add(this.enabled); } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } [ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue = false)] public bool Enabled { get { return (bool)this[this.enabled]; } set { this[this.enabled] = value; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty enabled = new ConfigurationProperty(ConfigurationStrings.Enabled, typeof(bool), false, ConfigurationPropertyOptions.None); } } // 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
- TriggerCollection.cs
- sqlinternaltransaction.cs
- NativeMethods.cs
- PropertyMetadata.cs
- ResourcesBuildProvider.cs
- oledbmetadatacollectionnames.cs
- CompressStream.cs
- Membership.cs
- TdsRecordBufferSetter.cs
- DataControlFieldCell.cs
- HttpClientCertificate.cs
- DuplexClientBase.cs
- TypedElement.cs
- RawStylusActions.cs
- StaticResourceExtension.cs
- PageCache.cs
- FixedPageStructure.cs
- DataKeyCollection.cs
- InvokeProviderWrapper.cs
- SeverityFilter.cs
- SqlInfoMessageEvent.cs
- ArgumentFixer.cs
- EraserBehavior.cs
- PointCollectionConverter.cs
- ValueChangedEventManager.cs
- ProcessThread.cs
- HtmlElementCollection.cs
- OptimalBreakSession.cs
- PropertyFilterAttribute.cs
- DetailsViewRowCollection.cs
- ModuleBuilderData.cs
- SQLResource.cs
- SourceExpressionException.cs
- SessionPageStatePersister.cs
- RuntimeUtils.cs
- PeerNearMe.cs
- ProcessHostFactoryHelper.cs
- UpdatePanel.cs
- BitmapEffectrendercontext.cs
- DecimalConverter.cs
- PersianCalendar.cs
- LightweightCodeGenerator.cs
- TextBlock.cs
- Localizer.cs
- GetPageCompletedEventArgs.cs
- StreamMarshaler.cs
- HttpApplicationFactory.cs
- ConfigViewGenerator.cs
- ScrollChangedEventArgs.cs
- KnownTypeHelper.cs
- QuaternionConverter.cs
- InstalledFontCollection.cs
- Table.cs
- UnitControl.cs
- TraceAsyncResult.cs
- SiteOfOriginPart.cs
- LocatorGroup.cs
- odbcmetadatacolumnnames.cs
- XPathNodeIterator.cs
- DerivedKeySecurityToken.cs
- RecordManager.cs
- IRCollection.cs
- streamingZipPartStream.cs
- SizeConverter.cs
- ParamArrayAttribute.cs
- AutomationProperties.cs
- InternalControlCollection.cs
- EntityDesignerDataSourceView.cs
- TextServicesContext.cs
- SqlConnectionHelper.cs
- DrawingContextDrawingContextWalker.cs
- AutoScrollExpandMessageFilter.cs
- ExceptionValidationRule.cs
- XmlAttributeProperties.cs
- XmlILConstructAnalyzer.cs
- BuildDependencySet.cs
- BamlTreeMap.cs
- ConfigurationValidatorAttribute.cs
- ActiveDocumentEvent.cs
- ResourceIDHelper.cs
- TabControlCancelEvent.cs
- ChangePassword.cs
- FlowDocumentReaderAutomationPeer.cs
- MetadataFile.cs
- Pool.cs
- WinInetCache.cs
- SafeProcessHandle.cs
- Logging.cs
- XComponentModel.cs
- UrlPropertyAttribute.cs
- ProfessionalColors.cs
- EmbeddedMailObjectCollectionEditor.cs
- ErrorCodes.cs
- InvalidCommandTreeException.cs
- HtmlInputControl.cs
- MergePropertyDescriptor.cs
- _Rfc2616CacheValidators.cs
- MsmqIntegrationBindingElement.cs
- PointCollection.cs
- XmlJsonReader.cs