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
- InputBuffer.cs
- NeutralResourcesLanguageAttribute.cs
- AspNetCompatibilityRequirementsAttribute.cs
- SqlInfoMessageEvent.cs
- GetPageNumberCompletedEventArgs.cs
- ADMembershipUser.cs
- TransformerTypeCollection.cs
- HostUtils.cs
- DragStartedEventArgs.cs
- EditorZone.cs
- NetworkAddressChange.cs
- DatatypeImplementation.cs
- WeakReferenceEnumerator.cs
- BatchStream.cs
- GroupDescription.cs
- ParamArrayAttribute.cs
- EventKeyword.cs
- ValidationHelper.cs
- WebPartCollection.cs
- WebCategoryAttribute.cs
- PenThreadPool.cs
- UserControl.cs
- ToolStripMenuItem.cs
- SerializationSectionGroup.cs
- IndexedGlyphRun.cs
- StyleSheetRefUrlEditor.cs
- XmlSchemaElement.cs
- URIFormatException.cs
- DesignerGeometryHelper.cs
- DbProviderFactoriesConfigurationHandler.cs
- HashCodeCombiner.cs
- ExpressionsCollectionConverter.cs
- DataException.cs
- MSHTMLHost.cs
- Splitter.cs
- FontUnitConverter.cs
- Size3D.cs
- PropertyNames.cs
- XmlCollation.cs
- Transform3DGroup.cs
- ServiceModelDictionary.cs
- MetadataFile.cs
- ProtectedProviderSettings.cs
- NativeMethods.cs
- RtfFormatStack.cs
- EventlogProvider.cs
- PackageStore.cs
- StoragePropertyMapping.cs
- LongCountAggregationOperator.cs
- ArraySortHelper.cs
- WebPartVerbCollection.cs
- CodeExporter.cs
- CacheMemory.cs
- SplitContainer.cs
- InfoCardSymmetricCrypto.cs
- Pair.cs
- SystemNetworkInterface.cs
- WebServiceHostFactory.cs
- ActivityExecutorOperation.cs
- HandleRef.cs
- EntityTypeEmitter.cs
- DataServiceExpressionVisitor.cs
- _ListenerRequestStream.cs
- Effect.cs
- DataBindingValueUIHandler.cs
- ValueUnavailableException.cs
- ChameleonKey.cs
- DataKeyCollection.cs
- DuplicateDetector.cs
- SafePEFileHandle.cs
- PrimitiveType.cs
- TimeSpanValidatorAttribute.cs
- DropShadowEffect.cs
- OleDbErrorCollection.cs
- BufferedStream.cs
- DesignerWebPartChrome.cs
- Binding.cs
- Native.cs
- PageSetupDialog.cs
- LogSwitch.cs
- AQNBuilder.cs
- ColumnMapVisitor.cs
- ProviderCommandInfoUtils.cs
- StreamWithDictionary.cs
- HttpChannelBindingToken.cs
- ConnectionManagementSection.cs
- ZoomPercentageConverter.cs
- RtfNavigator.cs
- InheritanceRules.cs
- InstanceOwnerException.cs
- SingleKeyFrameCollection.cs
- XmlSchemaIdentityConstraint.cs
- XmlUtil.cs
- ConvertBinder.cs
- MenuCommandService.cs
- StringArrayConverter.cs
- ActiveXSite.cs
- ImageCollectionEditor.cs
- SchemaEntity.cs
- Misc.cs