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
- AppDomainEvidenceFactory.cs
- SharedPerformanceCounter.cs
- StatusBarPanelClickEvent.cs
- StoreItemCollection.Loader.cs
- ModelPropertyDescriptor.cs
- Set.cs
- PreloadedPackages.cs
- ValueUnavailableException.cs
- CngKey.cs
- FlowDocumentView.cs
- ThicknessAnimation.cs
- XLinq.cs
- wgx_exports.cs
- OdbcHandle.cs
- JumpPath.cs
- PEFileEvidenceFactory.cs
- RewritingProcessor.cs
- ThreadAttributes.cs
- ListBox.cs
- MetadataUtil.cs
- PageCatalogPart.cs
- Metafile.cs
- Function.cs
- DependencyObjectCodeDomSerializer.cs
- MergablePropertyAttribute.cs
- UIElement3DAutomationPeer.cs
- Timer.cs
- FlowDocumentScrollViewer.cs
- UriSchemeKeyedCollection.cs
- followingsibling.cs
- SelectionBorderGlyph.cs
- EventProxy.cs
- OdbcEnvironmentHandle.cs
- BeginSelectCardRequest.cs
- MetafileHeaderWmf.cs
- TreeView.cs
- FaultCallbackWrapper.cs
- BitStream.cs
- DesignerAttribute.cs
- BindingContext.cs
- FormViewRow.cs
- IncrementalReadDecoders.cs
- SettingsBindableAttribute.cs
- ItemChangedEventArgs.cs
- UIElement.cs
- DataBindingHandlerAttribute.cs
- PageSetupDialog.cs
- InstanceDescriptor.cs
- SelectionEditor.cs
- AssemblyResourceLoader.cs
- LabelExpression.cs
- DataMemberAttribute.cs
- FunctionParameter.cs
- ValidatorCompatibilityHelper.cs
- HttpResponseInternalWrapper.cs
- RenderDataDrawingContext.cs
- ClientTargetCollection.cs
- XamlPoint3DCollectionSerializer.cs
- ComponentConverter.cs
- QilStrConcat.cs
- Random.cs
- ApplyHostConfigurationBehavior.cs
- RightsManagementEncryptedStream.cs
- RepeatInfo.cs
- SharedStatics.cs
- DataGridViewColumnCollection.cs
- ArrayTypeMismatchException.cs
- TableRowCollection.cs
- RuleRef.cs
- DataRowView.cs
- SchemaNamespaceManager.cs
- AutoCompleteStringCollection.cs
- SiteIdentityPermission.cs
- ComNativeDescriptor.cs
- InnerItemCollectionView.cs
- IisTraceListener.cs
- FirstMatchCodeGroup.cs
- TreeView.cs
- loginstatus.cs
- EnumerableRowCollection.cs
- _PooledStream.cs
- SqlDataRecord.cs
- LayoutUtils.cs
- PhysicalOps.cs
- RootBrowserWindowProxy.cs
- SqlConnection.cs
- wgx_commands.cs
- RectangleHotSpot.cs
- SqlProfileProvider.cs
- DeviceSpecificDialogCachedState.cs
- ExpressionList.cs
- HttpRequestCacheValidator.cs
- IRCollection.cs
- AuthenticationServiceManager.cs
- SystemFonts.cs
- unsafenativemethodstextservices.cs
- ListViewDesigner.cs
- RelatedEnd.cs
- TypeNameHelper.cs
- EntityDataSourceChangingEventArgs.cs