Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / Configuration / SchemaImporterExtensionElementCollection.cs / 1 / SchemaImporterExtensionElementCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization.Configuration { using System; using System.Configuration; using System.Security.Permissions; [ConfigurationCollection(typeof(SchemaImporterExtensionElement))] public sealed class SchemaImporterExtensionElementCollection : ConfigurationElementCollection { public SchemaImporterExtensionElementCollection() { } public SchemaImporterExtensionElement this[int index] { get { return (SchemaImporterExtensionElement)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index,value); } } public new SchemaImporterExtensionElement this[string name] { get { return (SchemaImporterExtensionElement)BaseGet(name); } set { if (BaseGet(name) != null) { BaseRemove(name); } BaseAdd(value); } } public void Add(SchemaImporterExtensionElement element) { BaseAdd(element); } public void Clear() { BaseClear(); } protected override ConfigurationElement CreateNewElement() { return new SchemaImporterExtensionElement(); } protected override Object GetElementKey(ConfigurationElement element) { return ((SchemaImporterExtensionElement)element).Key; } public int IndexOf(SchemaImporterExtensionElement element) { return BaseIndexOf(element); } public void Remove(SchemaImporterExtensionElement element) { BaseRemove(element.Key); } public void Remove(string name) { BaseRemove(name); } public void RemoveAt(int index) { BaseRemoveAt(index); } } } // 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
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DataGridViewRowStateChangedEventArgs.cs
- DetailsViewAutoFormat.cs
- TemplatePagerField.cs
- GenericUriParser.cs
- DataColumnPropertyDescriptor.cs
- CompositeControl.cs
- TreeView.cs
- NullRuntimeConfig.cs
- SafeBitVector32.cs
- IdnElement.cs
- base64Transforms.cs
- Permission.cs
- SmtpTransport.cs
- DescendantBaseQuery.cs
- GenericTypeParameterConverter.cs
- ScopelessEnumAttribute.cs
- TextEditorParagraphs.cs
- ReflectPropertyDescriptor.cs
- XmlElementAttribute.cs
- FtpCachePolicyElement.cs
- AnnotationObservableCollection.cs
- Emitter.cs
- AstTree.cs
- InlineUIContainer.cs
- SiteMapNodeItem.cs
- EnumConverter.cs
- Html32TextWriter.cs
- XmlText.cs
- JobDuplex.cs
- MsmqAppDomainProtocolHandler.cs
- NGCUIElementCollectionSerializerAsync.cs
- RuntimeWrappedException.cs
- GlobalAllocSafeHandle.cs
- CallSite.cs
- MemoryMappedFileSecurity.cs
- Size3D.cs
- TextPointer.cs
- ReferencedAssembly.cs
- UnauthorizedAccessException.cs
- FileDialogCustomPlacesCollection.cs
- XomlSerializationHelpers.cs
- TdsEnums.cs
- LinkedResourceCollection.cs
- Viewport2DVisual3D.cs
- MembershipSection.cs
- PeerToPeerException.cs
- ComboBoxItem.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ConfigXmlWhitespace.cs
- ConnectionStringsSection.cs
- ProcessThread.cs
- Dynamic.cs
- CatalogPart.cs
- StoreAnnotationsMap.cs
- Grammar.cs
- GradientPanel.cs
- FacetChecker.cs
- KeyValueSerializer.cs
- ConsoleKeyInfo.cs
- ListenerElementsCollection.cs
- AccessViolationException.cs
- oledbconnectionstring.cs
- EventLogInternal.cs
- TypeProvider.cs
- uribuilder.cs
- WebPartConnectionsCancelVerb.cs
- LZCodec.cs
- ZoneLinkButton.cs
- InternalTypeHelper.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- HttpListenerException.cs
- Stylus.cs
- FlowDocumentScrollViewer.cs
- ExtensionDataReader.cs
- CalendarButton.cs
- QueryExpr.cs
- LinqDataSourceDisposeEventArgs.cs
- XmlAutoDetectWriter.cs
- ClipboardProcessor.cs
- MatrixAnimationUsingPath.cs
- PageAdapter.cs
- StickyNoteAnnotations.cs
- QilList.cs
- SponsorHelper.cs
- documentation.cs
- ThreadPool.cs
- MouseEvent.cs
- InfoCardSymmetricCrypto.cs
- StringWriter.cs
- Math.cs
- DrawingServices.cs
- FindCriteria.cs
- DiffuseMaterial.cs
- IisTraceListener.cs
- DataServiceOperationContext.cs
- HyperLinkDesigner.cs
- ValidatorCollection.cs
- UnmanagedHandle.cs
- TreeNodeBinding.cs