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
- TimeZoneNotFoundException.cs
- EmbeddedObject.cs
- EncodingDataItem.cs
- OdbcUtils.cs
- Message.cs
- UiaCoreApi.cs
- DesignerSelectionListAdapter.cs
- XmlArrayAttribute.cs
- OdbcParameterCollection.cs
- FormViewDeletedEventArgs.cs
- XmlWrappingReader.cs
- serverconfig.cs
- CustomError.cs
- DataSourceXmlSerializer.cs
- VisualProxy.cs
- TagPrefixAttribute.cs
- WsdlBuildProvider.cs
- FixedSOMSemanticBox.cs
- Helpers.cs
- DateBoldEvent.cs
- MemberJoinTreeNode.cs
- DefaultEventAttribute.cs
- NamespaceInfo.cs
- CroppedBitmap.cs
- FixedSOMPageConstructor.cs
- FileDialogPermission.cs
- SeekableReadStream.cs
- Html32TextWriter.cs
- BrushValueSerializer.cs
- TextBox.cs
- FloaterBaseParaClient.cs
- SignatureResourceHelper.cs
- FunctionNode.cs
- ClientUtils.cs
- WebConfigurationFileMap.cs
- DispatcherFrame.cs
- PlatformNotSupportedException.cs
- InfoCardBaseException.cs
- tabpagecollectioneditor.cs
- DependencyPropertyConverter.cs
- EntityContainerAssociationSet.cs
- MergeFilterQuery.cs
- ObjectDisposedException.cs
- Brushes.cs
- SubordinateTransaction.cs
- Pair.cs
- RMEnrollmentPage3.cs
- remotingproxy.cs
- FixedSOMTextRun.cs
- RelationshipEnd.cs
- WorkflowServiceBuildProvider.cs
- BaseTemplateBuildProvider.cs
- Site.cs
- TextTreeUndo.cs
- LingerOption.cs
- TemplatedAdorner.cs
- EncoderBestFitFallback.cs
- UInt32.cs
- SqlTypesSchemaImporter.cs
- SizeConverter.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- SingleStorage.cs
- LocalFileSettingsProvider.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- HtmlEmptyTagControlBuilder.cs
- StylusDevice.cs
- autovalidator.cs
- AndMessageFilterTable.cs
- SettingsPropertyIsReadOnlyException.cs
- HtmlInputHidden.cs
- FormatException.cs
- XmlSchemaElement.cs
- ToolStripPanelRow.cs
- CheckBox.cs
- SerialReceived.cs
- Context.cs
- MaxMessageSizeStream.cs
- BlockExpression.cs
- TemplateModeChangedEventArgs.cs
- ViewRendering.cs
- infer.cs
- ImageClickEventArgs.cs
- ProxyGenerationError.cs
- DictionaryEntry.cs
- DataGridViewColumnTypePicker.cs
- XPathParser.cs
- ProtectedConfigurationProviderCollection.cs
- LiteralControl.cs
- PenCursorManager.cs
- SupportsEventValidationAttribute.cs
- CollectionConverter.cs
- WorkflowServiceHost.cs
- GZipStream.cs
- UInt64Converter.cs
- VolatileEnlistmentState.cs
- RequestQueryParser.cs
- NamedPipeTransportBindingElement.cs
- ApplyHostConfigurationBehavior.cs
- AnnotationComponentChooser.cs
- Executor.cs