Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //[....] //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListViewAutomationPeer.cs
- ToolStripRenderer.cs
- SymbolTable.cs
- SafeLocalMemHandle.cs
- PathHelper.cs
- InfoCardService.cs
- PeerConnector.cs
- IProvider.cs
- UserControlBuildProvider.cs
- CheckBoxStandardAdapter.cs
- BlockCollection.cs
- FontSource.cs
- CompressedStack.cs
- SspiWrapper.cs
- UInt64.cs
- DataTableReaderListener.cs
- Win32SafeHandles.cs
- CharacterMetricsDictionary.cs
- UserControl.cs
- Condition.cs
- ManifestSignedXml.cs
- WindowsGraphics.cs
- ListBox.cs
- DataReceivedEventArgs.cs
- NameValueCollection.cs
- SmtpLoginAuthenticationModule.cs
- ElementFactory.cs
- AnchoredBlock.cs
- ErrorStyle.cs
- XmlSchemaIdentityConstraint.cs
- DataGridViewCellStyleBuilderDialog.cs
- CalendarDataBindingHandler.cs
- DataGridComponentEditor.cs
- EntityCommandExecutionException.cs
- DateTimeStorage.cs
- _ConnectOverlappedAsyncResult.cs
- EarlyBoundInfo.cs
- MachineKeySection.cs
- WebPartMinimizeVerb.cs
- ToolStripPanel.cs
- SHA256Cng.cs
- EventlogProvider.cs
- SID.cs
- Walker.cs
- HtmlHead.cs
- HyperLinkStyle.cs
- EdmTypeAttribute.cs
- SkewTransform.cs
- RelOps.cs
- NameValuePair.cs
- ButtonStandardAdapter.cs
- BoolLiteral.cs
- ActiveXContainer.cs
- SystemUdpStatistics.cs
- UniqueEventHelper.cs
- HandlerWithFactory.cs
- DataSetUtil.cs
- XmlSchemaAppInfo.cs
- SelectiveScrollingGrid.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- MobileControlsSection.cs
- SessionParameter.cs
- DocumentCollection.cs
- ServiceDescriptionSerializer.cs
- EditorBrowsableAttribute.cs
- ICspAsymmetricAlgorithm.cs
- MobileListItem.cs
- FormViewDeletedEventArgs.cs
- OdbcError.cs
- AppDomainShutdownMonitor.cs
- DictionaryContent.cs
- NameService.cs
- FamilyTypeface.cs
- WebCategoryAttribute.cs
- SqlMultiplexer.cs
- ListViewInsertionMark.cs
- ComponentChangedEvent.cs
- SpStreamWrapper.cs
- ToolStripButton.cs
- LongValidator.cs
- SafeFileHandle.cs
- InstanceDataCollection.cs
- FileDialog.cs
- VoiceInfo.cs
- CryptoApi.cs
- ResourcesBuildProvider.cs
- XmlException.cs
- FileEnumerator.cs
- XsdDateTime.cs
- ScriptComponentDescriptor.cs
- CapiSafeHandles.cs
- PasswordDeriveBytes.cs
- DataViewSettingCollection.cs
- GiveFeedbackEvent.cs
- PartialCachingControl.cs
- RuntimeVariableList.cs
- ObjectFullSpanRewriter.cs
- ReaderContextStackData.cs
- SafeRightsManagementEnvironmentHandle.cs
- SystemIPGlobalStatistics.cs