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
- InstanceBehavior.cs
- relpropertyhelper.cs
- OperatingSystem.cs
- NonSerializedAttribute.cs
- SHA256Managed.cs
- VectorKeyFrameCollection.cs
- BitmapFrame.cs
- DBConcurrencyException.cs
- Odbc32.cs
- PrintControllerWithStatusDialog.cs
- DataSetMappper.cs
- ReadOnlyState.cs
- Tablet.cs
- CollectionDataContractAttribute.cs
- WindowsButton.cs
- DataGridPageChangedEventArgs.cs
- DesignerDataColumn.cs
- PolicyValidationException.cs
- MailWriter.cs
- OracleDataAdapter.cs
- _LocalDataStoreMgr.cs
- _LazyAsyncResult.cs
- TransformerInfo.cs
- BooleanToVisibilityConverter.cs
- ToolStripDropTargetManager.cs
- ServiceCredentials.cs
- VisualCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- JobDuplex.cs
- WindowsFormsHelpers.cs
- TraceSwitch.cs
- InputLangChangeRequestEvent.cs
- Identifier.cs
- HwndSource.cs
- RemoteWebConfigurationHost.cs
- MailAddressParser.cs
- _HeaderInfo.cs
- ModelUIElement3D.cs
- CanonicalFormWriter.cs
- XamlStream.cs
- PhoneCallDesigner.cs
- BoundingRectTracker.cs
- OutputCacheModule.cs
- BlobPersonalizationState.cs
- ImageMapEventArgs.cs
- BulletedListEventArgs.cs
- mactripleDES.cs
- MaskPropertyEditor.cs
- TreeNodeStyleCollection.cs
- PartDesigner.cs
- SoundPlayer.cs
- EntityDataSourceWizardForm.cs
- ZipFileInfo.cs
- PermissionToken.cs
- RangeBaseAutomationPeer.cs
- DragEvent.cs
- Component.cs
- IsolatedStorageException.cs
- IPHostEntry.cs
- StoryFragments.cs
- SuppressMergeCheckAttribute.cs
- AVElementHelper.cs
- ServicePointManagerElement.cs
- DataGridViewTopRowAccessibleObject.cs
- MouseActionValueSerializer.cs
- ComponentResourceKey.cs
- FtpRequestCacheValidator.cs
- Choices.cs
- BuildManager.cs
- NumberSubstitution.cs
- Validator.cs
- HasCopySemanticsAttribute.cs
- InheritedPropertyChangedEventArgs.cs
- RelationshipEndMember.cs
- Vector3DCollectionValueSerializer.cs
- InternalBufferOverflowException.cs
- AtomServiceDocumentSerializer.cs
- StructuralCache.cs
- LayoutDump.cs
- DesignTableCollection.cs
- MatrixAnimationBase.cs
- DbXmlEnabledProviderManifest.cs
- ServiceModelReg.cs
- RelatedView.cs
- _Connection.cs
- WebEventTraceProvider.cs
- SetIndexBinder.cs
- baseaxisquery.cs
- BaseDataListPage.cs
- ListControlConvertEventArgs.cs
- VectorValueSerializer.cs
- _HeaderInfoTable.cs
- InstanceCreationEditor.cs
- FixedPageProcessor.cs
- ToolStripDropDown.cs
- LoginName.cs
- COM2AboutBoxPropertyDescriptor.cs
- PropertyOverridesTypeEditor.cs
- RepeatBehavior.cs
- ScaleTransform.cs