Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / Ipv6Element.cs / 1305376 / 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
- ISessionStateStore.cs
- SetState.cs
- MarshalByRefObject.cs
- CodeNamespace.cs
- KeyValuePair.cs
- FtpWebRequest.cs
- LayoutUtils.cs
- SqlRowUpdatedEvent.cs
- StaticDataManager.cs
- ConnectivityStatus.cs
- SmiXetterAccessMap.cs
- ContentDisposition.cs
- XmlLinkedNode.cs
- ProfileManager.cs
- NavigationProperty.cs
- XmlSchemaObjectCollection.cs
- CodePageUtils.cs
- SafeNativeMethods.cs
- TCPListener.cs
- SiteMapNode.cs
- OdbcUtils.cs
- SchemaLookupTable.cs
- PropertyNames.cs
- ZoomPercentageConverter.cs
- EventLogEntry.cs
- ChannelBinding.cs
- SchemaObjectWriter.cs
- ActivityMarkupSerializationProvider.cs
- QuaternionAnimationUsingKeyFrames.cs
- WebPartZone.cs
- LocatorManager.cs
- AppearanceEditorPart.cs
- ContractNamespaceAttribute.cs
- filewebrequest.cs
- TemplateGroupCollection.cs
- Wizard.cs
- XmlSubtreeReader.cs
- MenuItemStyleCollection.cs
- JsonWriterDelegator.cs
- ErrorTableItemStyle.cs
- JavaScriptString.cs
- XmlSchemaGroupRef.cs
- AsymmetricKeyExchangeFormatter.cs
- EdmScalarPropertyAttribute.cs
- Rectangle.cs
- TraceEventCache.cs
- XmlSchemaValidator.cs
- precedingquery.cs
- AncillaryOps.cs
- PrefixHandle.cs
- FontSizeConverter.cs
- CLSCompliantAttribute.cs
- OdbcError.cs
- RotateTransform.cs
- ApplicationBuildProvider.cs
- Input.cs
- OutputWindow.cs
- GatewayIPAddressInformationCollection.cs
- OptimizerPatterns.cs
- SqlDataRecord.cs
- TraceLevelStore.cs
- ItemContainerPattern.cs
- QilTargetType.cs
- WindowsAuthenticationModule.cs
- AnimationStorage.cs
- TextServicesCompartment.cs
- SectionInput.cs
- WindowsTreeView.cs
- WSTransactionSection.cs
- AssociationType.cs
- FrameworkElementFactory.cs
- SamlConditions.cs
- NeutralResourcesLanguageAttribute.cs
- SrgsOneOf.cs
- StringAnimationUsingKeyFrames.cs
- SQLInt16.cs
- Enum.cs
- TextEditorLists.cs
- ThreadInterruptedException.cs
- XmlSchemaRedefine.cs
- Configuration.cs
- SQLInt32Storage.cs
- TaskFormBase.cs
- ToolStrip.cs
- AddDataControlFieldDialog.cs
- GridEntry.cs
- ScrollableControl.cs
- FamilyTypeface.cs
- CodeDelegateInvokeExpression.cs
- ProbeRequestResponseAsyncResult.cs
- Automation.cs
- StatusStrip.cs
- XsdDateTime.cs
- XMLSchema.cs
- MultipleCopiesCollection.cs
- XPathException.cs
- KeyValueConfigurationElement.cs
- X509Certificate2.cs
- IDQuery.cs
- xmlformatgeneratorstatics.cs