Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TextViewElement.cs
- DrawingContextWalker.cs
- TableCellCollection.cs
- ClockController.cs
- TextContainerHelper.cs
- PointLight.cs
- WebPartManager.cs
- Journal.cs
- TypeSystem.cs
- PropertyExpression.cs
- DeviceContexts.cs
- ClientType.cs
- BaseAsyncResult.cs
- DataObjectCopyingEventArgs.cs
- followingsibling.cs
- MemberAssignment.cs
- DataViewListener.cs
- ProjectedSlot.cs
- RangeValuePattern.cs
- AutomationEvent.cs
- RegexCompiler.cs
- DynamicPropertyHolder.cs
- RadioButtonFlatAdapter.cs
- DelegatingTypeDescriptionProvider.cs
- Msec.cs
- Point.cs
- ExceptionUtil.cs
- SecurityContext.cs
- Point4DConverter.cs
- PrintPreviewDialog.cs
- TextEditorParagraphs.cs
- TriggerAction.cs
- SqlAggregateChecker.cs
- Unit.cs
- SystemIPGlobalStatistics.cs
- ModuleBuilderData.cs
- SqlDataSourceTableQuery.cs
- HostExecutionContextManager.cs
- XmlQualifiedName.cs
- XPathNodeHelper.cs
- ResXDataNode.cs
- EditorAttribute.cs
- LineSegment.cs
- GPPOINTF.cs
- DataGridViewMethods.cs
- FontWeight.cs
- DrawingCollection.cs
- ListMarkerSourceInfo.cs
- TypedTableGenerator.cs
- unitconverter.cs
- MenuRenderer.cs
- CompositeTypefaceMetrics.cs
- ElementAction.cs
- WebContext.cs
- mda.cs
- PreservationFileReader.cs
- TouchPoint.cs
- InputMethodStateChangeEventArgs.cs
- Int16AnimationBase.cs
- GlyphRunDrawing.cs
- TreeNodeEventArgs.cs
- DecimalConverter.cs
- _ServiceNameStore.cs
- indexingfiltermarshaler.cs
- CodeCatchClause.cs
- DBParameter.cs
- ObjectDataSourceView.cs
- Funcletizer.cs
- Empty.cs
- EndpointDesigner.cs
- BitmapEffectDrawing.cs
- Annotation.cs
- xml.cs
- RectangleF.cs
- FileNotFoundException.cs
- ListViewSortEventArgs.cs
- Control.cs
- ITextView.cs
- WeakHashtable.cs
- WindowsClaimSet.cs
- FormsAuthentication.cs
- PathGeometry.cs
- XmlSequenceWriter.cs
- QilUnary.cs
- EventArgs.cs
- UIntPtr.cs
- IList.cs
- CheckBox.cs
- SecurityDescriptor.cs
- ListParagraph.cs
- ReadOnlyKeyedCollection.cs
- SessionStateContainer.cs
- ContextBase.cs
- SimpleApplicationHost.cs
- SymbolUsageManager.cs
- MenuAutomationPeer.cs
- FamilyMap.cs
- PageHandlerFactory.cs
- DoubleAnimation.cs
- TreeView.cs