Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- DomainLiteralReader.cs
- BlurEffect.cs
- InkCanvasInnerCanvas.cs
- SiteMembershipCondition.cs
- TypeListConverter.cs
- EntityDataSource.cs
- Timer.cs
- Propagator.Evaluator.cs
- UnitySerializationHolder.cs
- DesignerActionUI.cs
- ConfigurationStrings.cs
- SymmetricCryptoHandle.cs
- RegexReplacement.cs
- GeneralTransform3DCollection.cs
- FromReply.cs
- ObjectPersistData.cs
- COM2ExtendedTypeConverter.cs
- EdmToObjectNamespaceMap.cs
- NetCodeGroup.cs
- ProjectionPathBuilder.cs
- SchemaNamespaceManager.cs
- Method.cs
- RestHandlerFactory.cs
- EnumMemberAttribute.cs
- TableRowGroup.cs
- MouseGestureValueSerializer.cs
- CustomAttributeBuilder.cs
- LogWriteRestartAreaAsyncResult.cs
- LayoutInformation.cs
- SqlDataReaderSmi.cs
- SequentialUshortCollection.cs
- mactripleDES.cs
- ProfileBuildProvider.cs
- RightsManagementUser.cs
- CrossSiteScriptingValidation.cs
- Atom10FormatterFactory.cs
- OperatingSystem.cs
- Attributes.cs
- TextFormattingConverter.cs
- ResourceDescriptionAttribute.cs
- TextReturnReader.cs
- TargetControlTypeAttribute.cs
- SyndicationDeserializer.cs
- EntityCollectionChangedParams.cs
- HandlerFactoryWrapper.cs
- OdbcError.cs
- OleAutBinder.cs
- DesignerView.cs
- Operators.cs
- DataGridViewColumnTypePicker.cs
- ReferentialConstraintRoleElement.cs
- DataTableMapping.cs
- TriState.cs
- SchemaElementLookUpTable.cs
- HostedAspNetEnvironment.cs
- CurrentChangingEventArgs.cs
- DefaultBinder.cs
- SplineQuaternionKeyFrame.cs
- Descriptor.cs
- embossbitmapeffect.cs
- COM2Enum.cs
- ByteStreamGeometryContext.cs
- ParentQuery.cs
- Bold.cs
- TimeStampChecker.cs
- TagMapCollection.cs
- OdbcParameterCollection.cs
- _CommandStream.cs
- NaturalLanguageHyphenator.cs
- BaseTemplateCodeDomTreeGenerator.cs
- AgileSafeNativeMemoryHandle.cs
- RealizationDrawingContextWalker.cs
- ApplicationSecurityManager.cs
- DebugView.cs
- QilStrConcat.cs
- ColorIndependentAnimationStorage.cs
- PassportIdentity.cs
- Empty.cs
- HttpCacheParams.cs
- ListViewTableCell.cs
- RangeValuePattern.cs
- BatchWriter.cs
- OdbcTransaction.cs
- DataObjectMethodAttribute.cs
- InvalidWMPVersionException.cs
- MediaEntryAttribute.cs
- Tuple.cs
- CompositeActivityMarkupSerializer.cs
- MappingMetadataHelper.cs
- Misc.cs
- CommandLibraryHelper.cs
- ParseChildrenAsPropertiesAttribute.cs
- GridViewColumn.cs
- QualifierSet.cs
- ListBoxItem.cs
- ReflectionPermission.cs
- CodeStatementCollection.cs
- GenericWebPart.cs
- PtsPage.cs
- StringFunctions.cs