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
- Recipient.cs
- FactoryGenerator.cs
- BinaryMethodMessage.cs
- DbProviderConfigurationHandler.cs
- RadioButtonStandardAdapter.cs
- ListViewContainer.cs
- Enlistment.cs
- XpsManager.cs
- CodeTypeParameterCollection.cs
- DSASignatureDeformatter.cs
- EmptyControlCollection.cs
- TextServicesManager.cs
- GiveFeedbackEvent.cs
- ItemCollection.cs
- ControlBuilder.cs
- SHA384Managed.cs
- StructuralObject.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DefaultObjectSerializer.cs
- TripleDESCryptoServiceProvider.cs
- ConnectionConsumerAttribute.cs
- ProtectedProviderSettings.cs
- EncryptedKey.cs
- HtmlInputSubmit.cs
- HwndSourceKeyboardInputSite.cs
- DtcInterfaces.cs
- dtdvalidator.cs
- SyndicationSerializer.cs
- IsolatedStorageFileStream.cs
- ConfigurationHelpers.cs
- LiteralTextParser.cs
- Pen.cs
- LookupNode.cs
- ContextStaticAttribute.cs
- InvalidateEvent.cs
- CopyNodeSetAction.cs
- GeometryDrawing.cs
- Brushes.cs
- bidPrivateBase.cs
- SystemInformation.cs
- DataGridViewElement.cs
- HtmlInputFile.cs
- CqlLexerHelpers.cs
- EnterpriseServicesHelper.cs
- COM2TypeInfoProcessor.cs
- DivideByZeroException.cs
- IgnoreFileBuildProvider.cs
- TrackingServices.cs
- UnsafeNativeMethods.cs
- _LazyAsyncResult.cs
- ExpandableObjectConverter.cs
- XmlMemberMapping.cs
- HtmlElementErrorEventArgs.cs
- TextRenderer.cs
- DataGridView.cs
- NativeMethods.cs
- AlphaSortedEnumConverter.cs
- LifetimeServices.cs
- MILUtilities.cs
- webbrowsersite.cs
- ListItemCollection.cs
- WinEventQueueItem.cs
- SoapAttributeAttribute.cs
- WindowsToolbarItemAsMenuItem.cs
- FactoryRecord.cs
- SizeChangedInfo.cs
- FirstMatchCodeGroup.cs
- UnmanagedHandle.cs
- MenuRenderer.cs
- DataGridViewRowPostPaintEventArgs.cs
- HtmlImageAdapter.cs
- IgnoreFileBuildProvider.cs
- EntityContainerAssociationSetEnd.cs
- InputMethodStateTypeInfo.cs
- CssStyleCollection.cs
- RotationValidation.cs
- PagesSection.cs
- DockingAttribute.cs
- Point3DAnimationUsingKeyFrames.cs
- DataGridAddNewRow.cs
- HtmlUtf8RawTextWriter.cs
- ResumeStoryboard.cs
- SystemWebCachingSectionGroup.cs
- QueryLifecycle.cs
- SHA384.cs
- CodeMemberEvent.cs
- InvalidOleVariantTypeException.cs
- WorkflowMarkupSerializationProvider.cs
- DataSourceControl.cs
- _UriTypeConverter.cs
- ItemCheckedEvent.cs
- DataGridComponentEditor.cs
- ZipFileInfoCollection.cs
- UInt64Converter.cs
- XmlSchemaSimpleTypeList.cs
- TextRangeEditLists.cs
- AbsoluteQuery.cs
- Update.cs
- DateTimeValueSerializer.cs
- AbstractDataSvcMapFileLoader.cs