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
- IOThreadScheduler.cs
- ZoneMembershipCondition.cs
- RotateTransform3D.cs
- CuspData.cs
- OrderByQueryOptionExpression.cs
- DrawingGroupDrawingContext.cs
- ArrayListCollectionBase.cs
- ObjectViewFactory.cs
- WebBrowserSiteBase.cs
- SerializerProvider.cs
- PageThemeBuildProvider.cs
- BypassElementCollection.cs
- WebPartMenu.cs
- SslStream.cs
- EntryPointNotFoundException.cs
- GorillaCodec.cs
- CodeIterationStatement.cs
- webbrowsersite.cs
- BaseServiceProvider.cs
- SourceInterpreter.cs
- SqlUserDefinedAggregateAttribute.cs
- AncillaryOps.cs
- MembershipValidatePasswordEventArgs.cs
- LongValidator.cs
- PropertyGrid.cs
- XPathNavigatorReader.cs
- ToolStripControlHost.cs
- SHA1Managed.cs
- MSHTMLHost.cs
- FilteredReadOnlyMetadataCollection.cs
- PreProcessInputEventArgs.cs
- HtmlButton.cs
- WebPartEventArgs.cs
- ToolStripManager.cs
- IItemContainerGenerator.cs
- ResourceDescriptionAttribute.cs
- TextSelectionHelper.cs
- SchemaObjectWriter.cs
- ToolStripLabel.cs
- TypeResolver.cs
- PeerEndPoint.cs
- ProfileServiceManager.cs
- SymbolPair.cs
- PersonalizationProviderCollection.cs
- StandardRuntimeEnumValidatorAttribute.cs
- CoTaskMemHandle.cs
- AuthorizationSection.cs
- NativeMethodsOther.cs
- ClientTarget.cs
- EntityProviderServices.cs
- AnimationClock.cs
- DynamicRenderer.cs
- CommandField.cs
- _NetworkingPerfCounters.cs
- DragDropHelper.cs
- FrameworkElementFactoryMarkupObject.cs
- ListControlBuilder.cs
- Common.cs
- PartBasedPackageProperties.cs
- MetadataAssemblyHelper.cs
- XsdValidatingReader.cs
- RadioButtonBaseAdapter.cs
- MarkupCompiler.cs
- Window.cs
- ProxyOperationRuntime.cs
- DrawingContextWalker.cs
- FixedMaxHeap.cs
- XsdValidatingReader.cs
- Array.cs
- DesignBindingEditor.cs
- SchemaNames.cs
- OdbcInfoMessageEvent.cs
- TextSpan.cs
- ObjectSecurity.cs
- AdCreatedEventArgs.cs
- IgnoreFileBuildProvider.cs
- DrawListViewItemEventArgs.cs
- AnimationTimeline.cs
- __ConsoleStream.cs
- AdornedElementPlaceholder.cs
- PerformanceCounterManager.cs
- DnsPermission.cs
- EntitySqlQueryState.cs
- BrushConverter.cs
- mediapermission.cs
- CompiledQuery.cs
- FilterQuery.cs
- XPathException.cs
- CodeExpressionCollection.cs
- DataControlCommands.cs
- TransactionManager.cs
- XmlUtilWriter.cs
- cookieexception.cs
- WebPartCloseVerb.cs
- TextParagraphView.cs
- StylusShape.cs
- ExtendedTransformFactory.cs
- StandardBindingImporter.cs
- MembershipUser.cs
- VisualTreeHelper.cs