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
- HttpStreamXmlDictionaryWriter.cs
- SmtpTransport.cs
- QilDataSource.cs
- Baml6Assembly.cs
- ObjectQueryExecutionPlan.cs
- log.cs
- DataGridViewHeaderCell.cs
- DiagnosticsConfigurationHandler.cs
- MultiSelector.cs
- _OSSOCK.cs
- MethodBuilderInstantiation.cs
- JapaneseLunisolarCalendar.cs
- ConsumerConnectionPointCollection.cs
- InheritanceContextChangedEventManager.cs
- AuthenticationSchemesHelper.cs
- TextParentUndoUnit.cs
- RealizedColumnsBlock.cs
- StateItem.cs
- PasswordTextNavigator.cs
- RemoteWebConfigurationHost.cs
- EventProviderWriter.cs
- DataListItemEventArgs.cs
- CodeDOMProvider.cs
- ServiceModelExtensionElement.cs
- Helpers.cs
- CalendarAutomationPeer.cs
- safesecurityhelperavalon.cs
- HyperLinkStyle.cs
- Parser.cs
- DataRowView.cs
- OpenFileDialog.cs
- TextTreeRootTextBlock.cs
- ToolStripDropDownButton.cs
- DataGridViewRowsRemovedEventArgs.cs
- SapiInterop.cs
- ServicePointManagerElement.cs
- DataRelationPropertyDescriptor.cs
- RtfToXamlLexer.cs
- ResourceProviderFactory.cs
- XpsSerializationManager.cs
- LazyTextWriterCreator.cs
- BufferedMessageData.cs
- HttpListenerResponse.cs
- IPPacketInformation.cs
- CustomGrammar.cs
- DataGrid.cs
- DataColumn.cs
- _CookieModule.cs
- ZipIOExtraField.cs
- XsdBuildProvider.cs
- ColumnPropertiesGroup.cs
- TrustManagerMoreInformation.cs
- EntityClientCacheKey.cs
- ListBase.cs
- TextRunProperties.cs
- LifetimeMonitor.cs
- OleDbStruct.cs
- Stopwatch.cs
- DecoderExceptionFallback.cs
- DbReferenceCollection.cs
- SHA1.cs
- ToolStripMenuItem.cs
- DrawingDrawingContext.cs
- PropertyChangedEventManager.cs
- UriSectionReader.cs
- ConnectionDemuxer.cs
- WinInetCache.cs
- TabPage.cs
- TrackingMemoryStream.cs
- InputProviderSite.cs
- BehaviorEditorPart.cs
- ADMembershipUser.cs
- ipaddressinformationcollection.cs
- TypeProvider.cs
- Token.cs
- XmlAttributeProperties.cs
- DefaultValueAttribute.cs
- WindowsListViewGroup.cs
- ConstNode.cs
- SourceInterpreter.cs
- SerializeAbsoluteContext.cs
- ScriptComponentDescriptor.cs
- FactoryMaker.cs
- UnaryExpression.cs
- FocusManager.cs
- TypeUsageBuilder.cs
- DbDataSourceEnumerator.cs
- SqlDataSource.cs
- CodeTypeParameterCollection.cs
- DataListItemCollection.cs
- CodeCatchClause.cs
- ColumnHeader.cs
- StyleXamlParser.cs
- DrawingBrush.cs
- ToolStripRenderer.cs
- WindowsRebar.cs
- GeneralTransform3DTo2D.cs
- WebConfigurationHostFileChange.cs
- ButtonChrome.cs
- HttpCachePolicy.cs