Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- XmlWriterTraceListener.cs
- SmtpException.cs
- MobileListItem.cs
- ISAPIApplicationHost.cs
- URL.cs
- Style.cs
- NamespaceInfo.cs
- EntityPropertyMappingAttribute.cs
- RuleConditionDialog.cs
- DoubleCollectionValueSerializer.cs
- SqlExpander.cs
- SqlConnection.cs
- FixedSOMTable.cs
- LoadMessageLogger.cs
- RadioButtonStandardAdapter.cs
- PermissionSetTriple.cs
- VSWCFServiceContractGenerator.cs
- Calendar.cs
- RepeaterDataBoundAdapter.cs
- HwndStylusInputProvider.cs
- graph.cs
- NameNode.cs
- GridViewColumnCollectionChangedEventArgs.cs
- MailDefinition.cs
- XmlSerializerFactory.cs
- OperandQuery.cs
- BlockCollection.cs
- ADMembershipUser.cs
- EntityDataSourceDesignerHelper.cs
- PiiTraceSource.cs
- ChangePassword.cs
- LayoutExceptionEventArgs.cs
- FieldDescriptor.cs
- FramingChannels.cs
- SqlDataSourceView.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ContentPlaceHolder.cs
- ZipIOLocalFileHeader.cs
- SafeCryptHandles.cs
- WindowsListBox.cs
- EnumBuilder.cs
- CapacityStreamGeometryContext.cs
- ConfigurationManager.cs
- MetadataArtifactLoaderResource.cs
- TypeConverterValueSerializer.cs
- _SpnDictionary.cs
- WindowsListViewScroll.cs
- XmlAtomicValue.cs
- TextBoxDesigner.cs
- DesignerHelpers.cs
- IsolatedStoragePermission.cs
- HTTPNotFoundHandler.cs
- RectConverter.cs
- FullTextLine.cs
- HttpContextBase.cs
- ClientScriptManager.cs
- PrivilegedConfigurationManager.cs
- _KerberosClient.cs
- DbTransaction.cs
- CompositeControl.cs
- DataListComponentEditor.cs
- XmlDataSourceNodeDescriptor.cs
- ValidatedControlConverter.cs
- ThicknessConverter.cs
- HexParser.cs
- XslNumber.cs
- Debug.cs
- Rect3D.cs
- Barrier.cs
- ArrayConverter.cs
- DataProtection.cs
- TreeBuilderBamlTranslator.cs
- MetafileHeader.cs
- FaultCallbackWrapper.cs
- DiscoveryMessageSequence.cs
- AssociationType.cs
- SafeProcessHandle.cs
- MultiBinding.cs
- Token.cs
- HitTestFilterBehavior.cs
- CodeExporter.cs
- CodeNamespaceImport.cs
- UnionCodeGroup.cs
- InvalidCastException.cs
- SpanIndex.cs
- SymmetricCryptoHandle.cs
- ToolStripRenderEventArgs.cs
- ChtmlLinkAdapter.cs
- TaiwanCalendar.cs
- WebPartConnectionsConfigureVerb.cs
- DoubleIndependentAnimationStorage.cs
- SamlAssertionKeyIdentifierClause.cs
- TerminatorSinks.cs
- ReflectionServiceProvider.cs
- UrlMapping.cs
- IpcClientManager.cs
- BitmapCodecInfoInternal.cs
- NativeCppClassAttribute.cs
- PointLightBase.cs
- EntityDataSourceEntitySetNameItem.cs