Code:
/ FX-1434 / FX-1434 / 1.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
- Publisher.cs
- DesignerMetadata.cs
- BindingContext.cs
- FormViewDeletedEventArgs.cs
- DrawListViewColumnHeaderEventArgs.cs
- ProfileManager.cs
- HtmlInputReset.cs
- TypeBuilderInstantiation.cs
- OutOfProcStateClientManager.cs
- TextBoxAutomationPeer.cs
- XmlEventCache.cs
- TextDecorationCollectionConverter.cs
- OrderedDictionaryStateHelper.cs
- NativeMethods.cs
- HtmlTableCell.cs
- EpmHelper.cs
- HostedElements.cs
- FormViewUpdateEventArgs.cs
- DelayDesigner.cs
- KeyGestureConverter.cs
- UserCancellationException.cs
- ActivityWithResultConverter.cs
- DataColumnCollection.cs
- LiteralDesigner.cs
- Typeface.cs
- CodeCatchClauseCollection.cs
- Material.cs
- RecordsAffectedEventArgs.cs
- HyperLinkField.cs
- KeyPullup.cs
- wgx_sdk_version.cs
- SplitterCancelEvent.cs
- CSharpCodeProvider.cs
- Clipboard.cs
- HttpResponseBase.cs
- DataObjectEventArgs.cs
- RadioButtonPopupAdapter.cs
- AnnotationResourceCollection.cs
- DBCommand.cs
- ToolboxComponentsCreatedEventArgs.cs
- Base64Decoder.cs
- FactoryMaker.cs
- IRCollection.cs
- PropertyFilterAttribute.cs
- RegexCompiler.cs
- BaseUriHelper.cs
- DesignerDataSourceView.cs
- BrushValueSerializer.cs
- EraserBehavior.cs
- XmlSchemaCollection.cs
- RoleGroup.cs
- BaseAutoFormat.cs
- SspiHelper.cs
- ReverseInheritProperty.cs
- TrackPoint.cs
- PrivilegedConfigurationManager.cs
- RefreshEventArgs.cs
- ExclusiveTcpTransportManager.cs
- SqlReferenceCollection.cs
- PeerValidationBehavior.cs
- TabletDevice.cs
- SessionStateItemCollection.cs
- DataGridPageChangedEventArgs.cs
- ConditionalAttribute.cs
- ActiveXContainer.cs
- BaseParagraph.cs
- PropertyReferenceSerializer.cs
- Exceptions.cs
- Cursor.cs
- KeyGestureValueSerializer.cs
- BasicKeyConstraint.cs
- NumericUpDown.cs
- Rect3DConverter.cs
- Util.cs
- LockedAssemblyCache.cs
- RootNamespaceAttribute.cs
- WebContext.cs
- ToolBarButtonClickEvent.cs
- StringFormat.cs
- CurrencyManager.cs
- QueryConverter.cs
- CodeTypeParameter.cs
- CodeThrowExceptionStatement.cs
- CommonGetThemePartSize.cs
- ProxyAttribute.cs
- ApplicationServicesHostFactory.cs
- sqlmetadatafactory.cs
- ClassData.cs
- ImageInfo.cs
- MobileControlsSectionHandler.cs
- WsdlInspector.cs
- SQLStringStorage.cs
- VectorValueSerializer.cs
- LeaseManager.cs
- InvalidDataException.cs
- ICspAsymmetricAlgorithm.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ProcessHost.cs
- FixUpCollection.cs
- FormattedText.cs