Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / SchemeSettingElementCollection.cs / 1305376 / SchemeSettingElementCollection.cs
using System; namespace System.Configuration { [ConfigurationCollection(typeof(SchemeSettingElementCollection), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap, AddItemName = SchemeSettingElementCollection.AddItemName, ClearItemsName = SchemeSettingElementCollection.ClearItemsName, RemoveItemName = SchemeSettingElementCollection.RemoveItemName)] public sealed class SchemeSettingElementCollection : ConfigurationElementCollection { internal const string AddItemName = "add"; internal const string ClearItemsName = "clear"; internal const string RemoveItemName = "remove"; public SchemeSettingElementCollection() { AddElementName = AddItemName; ClearElementName = ClearItemsName; RemoveElementName = RemoveItemName; } public override ConfigurationElementCollectionType CollectionType { get { return ConfigurationElementCollectionType.AddRemoveClearMap; } } public SchemeSettingElement this[int index] { get { return (SchemeSettingElement)BaseGet(index); } } public new SchemeSettingElement this[string name] { get { return (SchemeSettingElement)BaseGet(name); } } public int IndexOf(SchemeSettingElement element) { return BaseIndexOf(element); } protected override ConfigurationElement CreateNewElement() { return new SchemeSettingElement(); } protected override Object GetElementKey(ConfigurationElement element) { return ((SchemeSettingElement)element).Name; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; namespace System.Configuration { [ConfigurationCollection(typeof(SchemeSettingElementCollection), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap, AddItemName = SchemeSettingElementCollection.AddItemName, ClearItemsName = SchemeSettingElementCollection.ClearItemsName, RemoveItemName = SchemeSettingElementCollection.RemoveItemName)] public sealed class SchemeSettingElementCollection : ConfigurationElementCollection { internal const string AddItemName = "add"; internal const string ClearItemsName = "clear"; internal const string RemoveItemName = "remove"; public SchemeSettingElementCollection() { AddElementName = AddItemName; ClearElementName = ClearItemsName; RemoveElementName = RemoveItemName; } public override ConfigurationElementCollectionType CollectionType { get { return ConfigurationElementCollectionType.AddRemoveClearMap; } } public SchemeSettingElement this[int index] { get { return (SchemeSettingElement)BaseGet(index); } } public new SchemeSettingElement this[string name] { get { return (SchemeSettingElement)BaseGet(name); } } public int IndexOf(SchemeSettingElement element) { return BaseIndexOf(element); } protected override ConfigurationElement CreateNewElement() { return new SchemeSettingElement(); } protected override Object GetElementKey(ConfigurationElement element) { return ((SchemeSettingElement)element).Name; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PartitionerQueryOperator.cs
- OleDbTransaction.cs
- StringBuilder.cs
- OutputCacheSection.cs
- DescendantQuery.cs
- AppDomainProtocolHandler.cs
- CommandPlan.cs
- NameValueSectionHandler.cs
- UserMapPath.cs
- CodeStatement.cs
- Code.cs
- ClockController.cs
- TypeSemantics.cs
- UIElementHelper.cs
- TypeSystem.cs
- GenericAuthenticationEventArgs.cs
- XPathCompileException.cs
- NamespaceQuery.cs
- StorageComplexTypeMapping.cs
- DoubleLinkList.cs
- WebBrowserHelper.cs
- HwndAppCommandInputProvider.cs
- CompiledScopeCriteria.cs
- RuleInfoComparer.cs
- Point4D.cs
- AnnotationService.cs
- OLEDB_Enum.cs
- BufferedGraphics.cs
- PropertyInfoSet.cs
- SchemaCollectionCompiler.cs
- RTTypeWrapper.cs
- HtmlAnchor.cs
- HostProtectionPermission.cs
- HyperlinkAutomationPeer.cs
- ContourSegment.cs
- PageClientProxyGenerator.cs
- ClonableStack.cs
- ProjectionCamera.cs
- nulltextcontainer.cs
- Stopwatch.cs
- ColorBlend.cs
- PerformanceCounterManager.cs
- ProxyAttribute.cs
- CollectionsUtil.cs
- LocatorPart.cs
- AutoCompleteStringCollection.cs
- DebugView.cs
- FormattedText.cs
- TextParagraphCache.cs
- WorkflowViewService.cs
- InteropExecutor.cs
- DriveInfo.cs
- CheckBoxStandardAdapter.cs
- DataGridViewCellValueEventArgs.cs
- TextRunCache.cs
- Camera.cs
- DoubleLink.cs
- BinHexDecoder.cs
- AppDomainProtocolHandler.cs
- DefaultPropertyAttribute.cs
- TextFormatterContext.cs
- PageAsyncTask.cs
- ToolBarPanel.cs
- FieldNameLookup.cs
- Vector3DConverter.cs
- OracleMonthSpan.cs
- BlurEffect.cs
- safex509handles.cs
- DataKeyCollection.cs
- WebPartDescriptionCollection.cs
- XmlObjectSerializerContext.cs
- HostedTransportConfigurationManager.cs
- Number.cs
- ContextProperty.cs
- CommittableTransaction.cs
- XmlUtil.cs
- ArgumentOutOfRangeException.cs
- ExpressionBuilderContext.cs
- QueryExpression.cs
- StylusOverProperty.cs
- KnownBoxes.cs
- WebResponse.cs
- SqlParameter.cs
- NonClientArea.cs
- FrameworkTemplate.cs
- BitmapEffect.cs
- WorkflowOperationBehavior.cs
- BinaryFormatter.cs
- BaseComponentEditor.cs
- MachineKeyConverter.cs
- Stack.cs
- RegexParser.cs
- x509utils.cs
- ToolStripContainer.cs
- MiniConstructorInfo.cs
- InkCanvasAutomationPeer.cs
- ScopedKnownTypes.cs
- ReadContentAsBinaryHelper.cs
- ActivityBindForm.Designer.cs
- KeySplineConverter.cs