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
- RowToParametersTransformer.cs
- PcmConverter.cs
- ObjectViewEntityCollectionData.cs
- ToolStripSettings.cs
- TableCellAutomationPeer.cs
- NotifyIcon.cs
- HttpHandler.cs
- RunInstallerAttribute.cs
- CompoundFileDeflateTransform.cs
- TextBoxAutoCompleteSourceConverter.cs
- ElementMarkupObject.cs
- QilLoop.cs
- EventWaitHandleSecurity.cs
- XmlReaderSettings.cs
- DecoratedNameAttribute.cs
- ProfileServiceManager.cs
- LinkDescriptor.cs
- DeferrableContent.cs
- DirectoryLocalQuery.cs
- EnumConverter.cs
- XmlSchemaAppInfo.cs
- TempFiles.cs
- SQLBoolean.cs
- PresentationAppDomainManager.cs
- RectangleGeometry.cs
- TreeNodeCollection.cs
- RegisteredDisposeScript.cs
- SecurityHeaderTokenResolver.cs
- FileDetails.cs
- CoordinationService.cs
- IisTraceListener.cs
- ActivitiesCollection.cs
- WebZone.cs
- IdleTimeoutMonitor.cs
- safex509handles.cs
- AccessDataSourceWizardForm.cs
- DelegatedStream.cs
- FileDialogPermission.cs
- DelegatingMessage.cs
- DataTableMapping.cs
- XPathCompiler.cs
- IsolationInterop.cs
- HtmlImageAdapter.cs
- xmlfixedPageInfo.cs
- ZoneIdentityPermission.cs
- ParamArrayAttribute.cs
- CacheChildrenQuery.cs
- MsmqInputMessagePool.cs
- TextPenaltyModule.cs
- ByteAnimationBase.cs
- MethodRental.cs
- Point3DAnimationBase.cs
- InvokeHandlers.cs
- CommandSet.cs
- XPathException.cs
- StringExpressionSet.cs
- GetPageCompletedEventArgs.cs
- ProfilePropertyNameValidator.cs
- DesignerSerializationVisibilityAttribute.cs
- FileDialog_Vista.cs
- ToolStripContentPanel.cs
- QilStrConcatenator.cs
- ScriptIgnoreAttribute.cs
- NameValueFileSectionHandler.cs
- DataTableMapping.cs
- ResourceDisplayNameAttribute.cs
- ControlUtil.cs
- WorkBatch.cs
- FolderNameEditor.cs
- ObjectPropertyMapping.cs
- LockCookie.cs
- SecurityResources.cs
- Vector3DValueSerializer.cs
- WebPartConnectionsCancelVerb.cs
- FilteredXmlReader.cs
- MimeTypeAttribute.cs
- MouseBinding.cs
- WindowsClaimSet.cs
- DesignerActionGlyph.cs
- KeyedHashAlgorithm.cs
- DataGridViewBindingCompleteEventArgs.cs
- TextBox.cs
- BCLDebug.cs
- UnaryQueryOperator.cs
- _IPv4Address.cs
- HasCopySemanticsAttribute.cs
- ObjectHandle.cs
- TrackingMemoryStreamFactory.cs
- LinearQuaternionKeyFrame.cs
- ImageMetadata.cs
- HttpSocketManager.cs
- Point.cs
- TextView.cs
- XmlByteStreamReader.cs
- PointAnimation.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- BufferedGraphicsManager.cs
- BamlRecords.cs
- QueryResponse.cs
- BindingList.cs