Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DefaultHttpHandler.cs
- SequenceDesigner.cs
- SharedDp.cs
- Validator.cs
- ChannelServices.cs
- ValidationSummary.cs
- AvtEvent.cs
- PrintDialog.cs
- TranslateTransform3D.cs
- HashSetDebugView.cs
- TemplateNameScope.cs
- NotifyParentPropertyAttribute.cs
- CommonProperties.cs
- SQLDoubleStorage.cs
- BulletedListEventArgs.cs
- TreeIterator.cs
- ColumnClickEvent.cs
- MessageQueueConverter.cs
- WebPartExportVerb.cs
- FlowDocumentPage.cs
- CopyAttributesAction.cs
- TaskFormBase.cs
- HttpPostLocalhostServerProtocol.cs
- RuntimeResourceSet.cs
- Rotation3D.cs
- ToolStripPanelRenderEventArgs.cs
- Convert.cs
- PeerNameRegistration.cs
- Parser.cs
- TreeNodeMouseHoverEvent.cs
- UpdateInfo.cs
- WebPartDeleteVerb.cs
- InvalidCommandTreeException.cs
- HandlerBase.cs
- ColorContext.cs
- TailPinnedEventArgs.cs
- ProviderConnectionPoint.cs
- CodeAssignStatement.cs
- SqlRowUpdatedEvent.cs
- ImpersonationContext.cs
- IApplicationTrustManager.cs
- HtmlInputReset.cs
- XmlHierarchyData.cs
- MimeMapping.cs
- TextReader.cs
- MachineKeySection.cs
- UnsafeNativeMethods.cs
- Roles.cs
- CmsInterop.cs
- wmiprovider.cs
- CodeTypeDeclaration.cs
- DependencyObject.cs
- BamlTreeUpdater.cs
- MetadataHelper.cs
- CompletedAsyncResult.cs
- WebServiceResponseDesigner.cs
- TextBox.cs
- ToolTipService.cs
- ErrorHandlingAcceptor.cs
- _ListenerRequestStream.cs
- Restrictions.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- BamlVersionHeader.cs
- ILGenerator.cs
- AppDomainAttributes.cs
- CodeFieldReferenceExpression.cs
- XmlSequenceWriter.cs
- OpacityConverter.cs
- ExtenderHelpers.cs
- ConditionalDesigner.cs
- XPathParser.cs
- MessageDirection.cs
- EntityDataSourceContainerNameItem.cs
- FixUpCollection.cs
- Base64Decoder.cs
- CookieProtection.cs
- UrlPath.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- PersonalizationProviderHelper.cs
- PageParser.cs
- DSASignatureFormatter.cs
- KnownTypesProvider.cs
- DataGridViewMethods.cs
- DesignerMetadata.cs
- StringKeyFrameCollection.cs
- NavigationExpr.cs
- FrameworkRichTextComposition.cs
- PolyLineSegment.cs
- ForceCopyBuildProvider.cs
- ContentTextAutomationPeer.cs
- _ServiceNameStore.cs
- Int32KeyFrameCollection.cs
- TextEditorSpelling.cs
- SystemWebSectionGroup.cs
- AlphabetConverter.cs
- EntityModelBuildProvider.cs
- BitmapSource.cs
- Semaphore.cs
- SqlDependency.cs
- FormattedTextSymbols.cs