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
- DataServiceExpressionVisitor.cs
- NativeMethods.cs
- log.cs
- FilteredDataSetHelper.cs
- Serializer.cs
- Thread.cs
- Model3D.cs
- RbTree.cs
- SQLDouble.cs
- SafeNativeMethods.cs
- ToolZone.cs
- Resources.Designer.cs
- DesignerActionService.cs
- Type.cs
- ModelPropertyCollectionImpl.cs
- SqlDataSourceCommandEventArgs.cs
- WorkflowQueueInfo.cs
- StyleSelector.cs
- RefreshPropertiesAttribute.cs
- DependencyPropertyKey.cs
- ContentType.cs
- UnknownBitmapEncoder.cs
- MenuCommandsChangedEventArgs.cs
- SocketAddress.cs
- Compiler.cs
- ArrangedElementCollection.cs
- XmlSchemaProviderAttribute.cs
- Simplifier.cs
- QilStrConcatenator.cs
- ListMarkerLine.cs
- SqlError.cs
- QueryInterceptorAttribute.cs
- CaseInsensitiveHashCodeProvider.cs
- TypeGenericEnumerableViewSchema.cs
- GcSettings.cs
- DataGridViewCellLinkedList.cs
- ColumnTypeConverter.cs
- StringArrayEditor.cs
- ConfigXmlComment.cs
- ITextView.cs
- DesignerTextBoxAdapter.cs
- DataBoundControlHelper.cs
- JpegBitmapEncoder.cs
- HostingEnvironmentException.cs
- ExceptionTrace.cs
- RenderData.cs
- ValidationError.cs
- SmiContextFactory.cs
- DataPagerFieldCommandEventArgs.cs
- NegatedCellConstant.cs
- PropertyGridCommands.cs
- ExpandedProjectionNode.cs
- SubpageParaClient.cs
- DataControlFieldHeaderCell.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- autovalidator.cs
- DrawingVisualDrawingContext.cs
- EntityKeyElement.cs
- ToolStripItemRenderEventArgs.cs
- Visual3DCollection.cs
- Propagator.JoinPropagator.cs
- PrintDialog.cs
- SafeEventLogWriteHandle.cs
- XamlBrushSerializer.cs
- GridViewColumnHeader.cs
- SplashScreenNativeMethods.cs
- DbDataSourceEnumerator.cs
- SiteMapPath.cs
- PasswordValidationException.cs
- SourceChangedEventArgs.cs
- RemotingSurrogateSelector.cs
- RuleSettingsCollection.cs
- DeclaredTypeValidator.cs
- Localizer.cs
- DataGridViewColumnTypePicker.cs
- TextEditorContextMenu.cs
- Adorner.cs
- ExceptionAggregator.cs
- ArrayExtension.cs
- RangeValuePattern.cs
- Error.cs
- XmlAttributeProperties.cs
- DescendentsWalker.cs
- XmlArrayItemAttributes.cs
- XPathEmptyIterator.cs
- XamlWriter.cs
- LinkConverter.cs
- ImageListStreamer.cs
- SafeLocalMemHandle.cs
- UniqueIdentifierService.cs
- CompressStream.cs
- AdornerHitTestResult.cs
- DataGridColumnCollection.cs
- ListBoxItemWrapperAutomationPeer.cs
- MailSettingsSection.cs
- ApplicationId.cs
- ListViewDataItem.cs
- LogAppendAsyncResult.cs
- GlyphsSerializer.cs
- DataSvcMapFile.cs