Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / Data / DataSourceDescriptorCollection.cs / 1 / DataSourceDescriptorCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design.Data { using System; using System.Collections; ////// /// Type safe collection of DataSourceDescriptor objects. /// public class DataSourceDescriptorCollection : CollectionBase { ////// /// public DataSourceDescriptorCollection() : base() { } ////// /// public int Add(DataSourceDescriptor value) { return List.Add(value); } ////// /// public int IndexOf(DataSourceDescriptor value) { return List.IndexOf(value); } ////// /// public void Insert(int index, DataSourceDescriptor value) { List.Insert(index, value); } ////// /// public bool Contains(DataSourceDescriptor value) { return List.Contains(value); } ////// /// public void CopyTo(DataSourceDescriptor[] array, int index) { List.CopyTo(array, index); } ////// /// public void Remove(DataSourceDescriptor value) { List.Remove(value); } ////// /// public DataSourceDescriptor this[int index] { get { return (DataSourceDescriptor) List[index]; } set { List[index] = value; } } } } // 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
- PostBackTrigger.cs
- LockCookie.cs
- FormViewDesigner.cs
- HtmlTableCellCollection.cs
- FieldMetadata.cs
- ImageInfo.cs
- JapaneseCalendar.cs
- QEncodedStream.cs
- DataTrigger.cs
- ColorTransform.cs
- ValidatingCollection.cs
- TextBlockAutomationPeer.cs
- SqlDataSourceFilteringEventArgs.cs
- BaseValidator.cs
- ArithmeticException.cs
- DocumentAutomationPeer.cs
- MSAAWinEventWrap.cs
- storepermissionattribute.cs
- Expander.cs
- DataSysAttribute.cs
- DetailsViewInsertEventArgs.cs
- C14NUtil.cs
- UIElementAutomationPeer.cs
- ErrorTolerantObjectWriter.cs
- SettingsAttributeDictionary.cs
- VolatileEnlistmentState.cs
- StringUtil.cs
- ManifestResourceInfo.cs
- HostingEnvironmentException.cs
- SynchronizationHandlesCodeDomSerializer.cs
- XmlSchemaAttributeGroup.cs
- AmbientLight.cs
- XmlJsonReader.cs
- RestHandlerFactory.cs
- METAHEADER.cs
- GraphicsPathIterator.cs
- StrongNameIdentityPermission.cs
- TdsParserSessionPool.cs
- DbMetaDataFactory.cs
- ResourceBinder.cs
- TransactionProxy.cs
- KeyValuePairs.cs
- DesignTimeVisibleAttribute.cs
- ClientFormsIdentity.cs
- InternalControlCollection.cs
- TargetException.cs
- PointF.cs
- Panel.cs
- ArglessEventHandlerProxy.cs
- ScrollContentPresenter.cs
- ResourceIDHelper.cs
- HybridObjectCache.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- CompletionBookmark.cs
- IndentTextWriter.cs
- CacheAxisQuery.cs
- ObjectPersistData.cs
- ResourceReferenceExpressionConverter.cs
- MessageContractAttribute.cs
- EnumMember.cs
- EmptyStringExpandableObjectConverter.cs
- LayoutInformation.cs
- ItemsChangedEventArgs.cs
- PopOutPanel.cs
- ISFTagAndGuidCache.cs
- FillRuleValidation.cs
- VisemeEventArgs.cs
- Item.cs
- CursorConverter.cs
- GeneralTransform2DTo3DTo2D.cs
- SecurityException.cs
- DuplicateDetector.cs
- GetChildSubtree.cs
- DataRowView.cs
- ContractListAdapter.cs
- ServerIdentity.cs
- ProxyAttribute.cs
- MembershipAdapter.cs
- CachedRequestParams.cs
- AssemblyCacheEntry.cs
- DocumentReferenceCollection.cs
- QueryUtil.cs
- CompressedStack.cs
- TextEditorCopyPaste.cs
- StartUpEventArgs.cs
- SID.cs
- BrushConverter.cs
- ColumnCollection.cs
- PrinterUnitConvert.cs
- OLEDB_Enum.cs
- MessageDroppedTraceRecord.cs
- HtmlSelect.cs
- Token.cs
- ConfigDefinitionUpdates.cs
- Monitor.cs
- MouseWheelEventArgs.cs
- RangeValuePattern.cs
- StateRuntime.cs
- validationstate.cs
- DrawingState.cs