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
- SoapHeader.cs
- VersionedStreamOwner.cs
- HierarchicalDataTemplate.cs
- HttpRuntimeSection.cs
- FlowDocumentFormatter.cs
- KeyNotFoundException.cs
- StringPropertyBuilder.cs
- WorkflowClientDeliverMessageWrapper.cs
- XmlWrappingReader.cs
- AssemblyBuilder.cs
- OutputCacheModule.cs
- SqlRowUpdatedEvent.cs
- WeakHashtable.cs
- mediapermission.cs
- RouteItem.cs
- CodeTypeReferenceExpression.cs
- Cursor.cs
- DefaultSection.cs
- TypeToken.cs
- XmlAnyElementAttribute.cs
- DbParameterHelper.cs
- ApplicationHost.cs
- WebServiceEndpoint.cs
- FormViewDesigner.cs
- ProtocolsConfigurationEntry.cs
- SessionPageStateSection.cs
- AttributeQuery.cs
- DtrList.cs
- TemplateKey.cs
- PerformanceCountersElement.cs
- IconConverter.cs
- OperatingSystemVersionCheck.cs
- SqlNamer.cs
- SqlDependencyListener.cs
- WebPartUserCapability.cs
- AutomationProperties.cs
- _BaseOverlappedAsyncResult.cs
- EventMappingSettings.cs
- AdCreatedEventArgs.cs
- MD5HashHelper.cs
- TextRangeProviderWrapper.cs
- ObjectConverter.cs
- PrinterResolution.cs
- ConditionCollection.cs
- InvalidWMPVersionException.cs
- FontSizeConverter.cs
- ObjectFullSpanRewriter.cs
- DecoderFallbackWithFailureFlag.cs
- ObjectViewEntityCollectionData.cs
- ConfigXmlAttribute.cs
- TemplateField.cs
- SqlProcedureAttribute.cs
- OleServicesContext.cs
- DataServiceRequest.cs
- URLMembershipCondition.cs
- MouseDevice.cs
- SqlCommandSet.cs
- ToolboxBitmapAttribute.cs
- SingletonChannelAcceptor.cs
- BamlLocalizabilityResolver.cs
- EnumerableWrapperWeakToStrong.cs
- InputLanguageManager.cs
- WebPartCatalogCloseVerb.cs
- XmlWriterSettings.cs
- ScalarType.cs
- StreamGeometry.cs
- ListBase.cs
- GridViewCommandEventArgs.cs
- InfoCardConstants.cs
- ScriptResourceInfo.cs
- IdnElement.cs
- CapabilitiesPattern.cs
- MediaEntryAttribute.cs
- TabItemWrapperAutomationPeer.cs
- BodyGlyph.cs
- CommandHelpers.cs
- PrePrepareMethodAttribute.cs
- Point3DKeyFrameCollection.cs
- ListBindingHelper.cs
- TraceContextRecord.cs
- SafeMILHandle.cs
- AtomicFile.cs
- ReadOnlyTernaryTree.cs
- ThreadExceptionEvent.cs
- ParentControlDesigner.cs
- DiagnosticsConfigurationHandler.cs
- CompilationRelaxations.cs
- RsaKeyIdentifierClause.cs
- WebPartEventArgs.cs
- ProfilePropertyNameValidator.cs
- PermissionRequestEvidence.cs
- StringArrayConverter.cs
- FileDialogCustomPlace.cs
- ContentType.cs
- LinkArea.cs
- HeaderedItemsControl.cs
- CompiledQuery.cs
- BoolExpression.cs
- OnOperation.cs
- SessionState.cs