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
- ProcessHostFactoryHelper.cs
- CommonXSendMessage.cs
- SiteIdentityPermission.cs
- MeasureData.cs
- DataTableClearEvent.cs
- iisPickupDirectory.cs
- RadioButtonList.cs
- EntitySetBase.cs
- Timer.cs
- ToolboxItemCollection.cs
- Int32.cs
- ObjectPersistData.cs
- StylusSystemGestureEventArgs.cs
- HierarchicalDataSourceControl.cs
- GraphicsContext.cs
- PlaceHolder.cs
- TypeEnumerableViewSchema.cs
- TreeNodeStyleCollection.cs
- RelatedCurrencyManager.cs
- PageTextBox.cs
- ClientScriptManagerWrapper.cs
- ZipIOExtraFieldElement.cs
- DataGridViewRowHeaderCell.cs
- JsonEncodingStreamWrapper.cs
- BuiltInExpr.cs
- Context.cs
- ProviderConnectionPointCollection.cs
- BindingExpression.cs
- NaturalLanguageHyphenator.cs
- EUCJPEncoding.cs
- Thickness.cs
- SmiContextFactory.cs
- OleDbDataAdapter.cs
- LinqDataSourceStatusEventArgs.cs
- SystemFonts.cs
- DecimalAnimationBase.cs
- Propagator.cs
- CodeMemberEvent.cs
- Types.cs
- DataSourceHelper.cs
- SignatureToken.cs
- RootBuilder.cs
- RectangleF.cs
- SQLInt32.cs
- ExpressionDumper.cs
- TogglePatternIdentifiers.cs
- ProviderConnectionPoint.cs
- TextParagraphCache.cs
- StoragePropertyMapping.cs
- WSHttpSecurity.cs
- ContextMenuService.cs
- SafeProcessHandle.cs
- RelationshipDetailsRow.cs
- BitmapEffectDrawingContextWalker.cs
- RadioButtonList.cs
- WebBrowser.cs
- arclist.cs
- IsolatedStorageFilePermission.cs
- SerializationEventsCache.cs
- HighlightVisual.cs
- UriParserTemplates.cs
- TypefaceMetricsCache.cs
- EasingKeyFrames.cs
- SqlConnectionPoolGroupProviderInfo.cs
- DecoderFallback.cs
- Timer.cs
- FormViewPageEventArgs.cs
- ApplicationFileParser.cs
- AttachedPropertyBrowsableAttribute.cs
- NumberEdit.cs
- ObjectConverter.cs
- PeerFlooder.cs
- WorkflowWebHostingModule.cs
- unitconverter.cs
- AnimationLayer.cs
- XmlSchemaObjectCollection.cs
- FileChangeNotifier.cs
- TextProperties.cs
- SinglePageViewer.cs
- EntityCommand.cs
- SHA256Managed.cs
- Pair.cs
- FrameworkElement.cs
- CFStream.cs
- CellTreeNodeVisitors.cs
- TextDecoration.cs
- hwndwrapper.cs
- EventArgs.cs
- DesignerVerb.cs
- HttpMethodAttribute.cs
- ServiceModelConfigurationSectionCollection.cs
- HttpDictionary.cs
- PersistenceTypeAttribute.cs
- BindingWorker.cs
- FlowDocumentReaderAutomationPeer.cs
- TextServicesLoader.cs
- TraceLevelStore.cs
- BaseCAMarshaler.cs
- TerminateWorkflow.cs
- PerfCounters.cs