Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TypeResolver.cs
- DragDropHelper.cs
- _ServiceNameStore.cs
- CharStorage.cs
- ListenerConfig.cs
- DrawItemEvent.cs
- OlePropertyStructs.cs
- MustUnderstandSoapException.cs
- ProjectionCamera.cs
- FormViewInsertEventArgs.cs
- VectorCollectionValueSerializer.cs
- XmlDesignerDataSourceView.cs
- EventDescriptor.cs
- TraceXPathNavigator.cs
- MethodCallTranslator.cs
- SimpleTypeResolver.cs
- DigitShape.cs
- DBSqlParserColumn.cs
- ISAPIWorkerRequest.cs
- QilTernary.cs
- HintTextMaxWidthConverter.cs
- WebPartCatalogAddVerb.cs
- FaultDescriptionCollection.cs
- SymLanguageVendor.cs
- BaseParagraph.cs
- ToolStripRendererSwitcher.cs
- HttpRuntime.cs
- Debug.cs
- CryptoApi.cs
- Graph.cs
- XamlBuildTaskServices.cs
- XPathBinder.cs
- TransformedBitmap.cs
- SchemaImporter.cs
- RectAnimationUsingKeyFrames.cs
- HtmlShimManager.cs
- GradientStop.cs
- CodeDomLoader.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SessionStateModule.cs
- TrustManagerPromptUI.cs
- InfocardClientCredentials.cs
- IListConverters.cs
- LogRecordSequence.cs
- TextRangeEditLists.cs
- ChtmlTextWriter.cs
- ToolStripInSituService.cs
- ValidationRuleCollection.cs
- TemplateBuilder.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- SecurityElement.cs
- ReflectionTypeLoadException.cs
- WsatRegistrationHeader.cs
- Mapping.cs
- BuildProviderAppliesToAttribute.cs
- AssociationSetMetadata.cs
- BamlLocalizableResourceKey.cs
- BaseDataBoundControlDesigner.cs
- SqlGatherConsumedAliases.cs
- CacheVirtualItemsEvent.cs
- WebBrowserDocumentCompletedEventHandler.cs
- SizeAnimation.cs
- StrongNameUtility.cs
- XsdBuilder.cs
- MSHTMLHost.cs
- BamlRecords.cs
- DataGridViewRowsRemovedEventArgs.cs
- InfoCardCryptoHelper.cs
- XPathNavigator.cs
- PointUtil.cs
- NegotiationTokenAuthenticator.cs
- DebugHandleTracker.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SqlDataReaderSmi.cs
- Matrix3DValueSerializer.cs
- FaultPropagationQuery.cs
- XmlWrappingReader.cs
- FramingFormat.cs
- XPathNavigatorKeyComparer.cs
- AuthenticationService.cs
- WriteTimeStream.cs
- WebPartsPersonalizationAuthorization.cs
- Error.cs
- InvalidOleVariantTypeException.cs
- MethodBuilder.cs
- XmlCountingReader.cs
- UpDownBase.cs
- OrderedDictionary.cs
- Int32AnimationUsingKeyFrames.cs
- InnerItemCollectionView.cs
- BaseComponentEditor.cs
- CodeCommentStatement.cs
- InputLangChangeEvent.cs
- EntryPointNotFoundException.cs
- CategoryNameCollection.cs
- XmlBaseWriter.cs
- TextTreeUndo.cs
- SafeLibraryHandle.cs
- LocalFileSettingsProvider.cs
- InternalBufferOverflowException.cs