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
- Crc32.cs
- UIAgentAsyncEndRequest.cs
- Stack.cs
- SessionState.cs
- BreakSafeBase.cs
- RemoteCryptoRsaServiceProvider.cs
- Calendar.cs
- SHA256Managed.cs
- EFDataModelProvider.cs
- CapacityStreamGeometryContext.cs
- TreeView.cs
- ConnectionStringSettingsCollection.cs
- XmlEncoding.cs
- DoubleCollectionConverter.cs
- PeerNameRegistration.cs
- BaseDataList.cs
- WindowShowOrOpenTracker.cs
- SizeAnimationUsingKeyFrames.cs
- UIHelper.cs
- Message.cs
- SqlDataRecord.cs
- ComponentCollection.cs
- TypeListConverter.cs
- DataGridViewHitTestInfo.cs
- IISMapPath.cs
- LongValidatorAttribute.cs
- VoiceObjectToken.cs
- input.cs
- XPathNavigatorKeyComparer.cs
- AsnEncodedData.cs
- Native.cs
- ResourceManagerWrapper.cs
- EntityDataSourceQueryBuilder.cs
- OdbcCommandBuilder.cs
- SessionState.cs
- Route.cs
- DecimalAnimationBase.cs
- QilSortKey.cs
- XmlSchemaSimpleTypeList.cs
- XmlSerializerSection.cs
- DesignerView.cs
- wgx_exports.cs
- ValueExpressions.cs
- WebPartZoneBase.cs
- LongCountAggregationOperator.cs
- XmlSerializerVersionAttribute.cs
- WorkflowRuntimeSection.cs
- HtmlControlPersistable.cs
- ChannelFactoryRefCache.cs
- AutomationPeer.cs
- webclient.cs
- DataGrid.cs
- SslStream.cs
- WebPartActionVerb.cs
- DbLambda.cs
- HitTestResult.cs
- DictionaryBase.cs
- regiisutil.cs
- TextBox.cs
- EventRouteFactory.cs
- SizeLimitedCache.cs
- ContentHostHelper.cs
- ProxyElement.cs
- DrawingVisual.cs
- DataGridViewHeaderCell.cs
- Point3DAnimationBase.cs
- DataControlCommands.cs
- Messages.cs
- ErrorHandler.cs
- HtmlTableCell.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- SubMenuStyleCollection.cs
- SortQuery.cs
- BitmapImage.cs
- RemoteWebConfigurationHostStream.cs
- FontStyleConverter.cs
- Scripts.cs
- FeatureSupport.cs
- SkewTransform.cs
- UnaryExpressionHelper.cs
- InputBinding.cs
- PlanCompilerUtil.cs
- GridViewHeaderRowPresenter.cs
- Token.cs
- AssemblyFilter.cs
- SynchronizedPool.cs
- CookielessHelper.cs
- FileDialogPermission.cs
- XmlQueryType.cs
- OleDbConnectionInternal.cs
- DocumentPageHost.cs
- InvokeHandlers.cs
- StructureChangedEventArgs.cs
- BitmapDownload.cs
- ListViewItemSelectionChangedEvent.cs
- DynamicMethod.cs
- ConfigXmlAttribute.cs
- EntityWithChangeTrackerStrategy.cs
- PathParser.cs
- recordstatefactory.cs