Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / BaseCollection.cs / 1305376 / BaseCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Runtime.InteropServices; using System; using System.ComponentModel; using System.Collections; using ArrayList = System.Collections.ArrayList; ////// /// public class BaseCollection : MarshalByRefObject, ICollection { //================================================== // the ICollection methods //================================================== ///Provides the base functionality for creating collections. ////// /// [ Browsable(false), EditorBrowsable(EditorBrowsableState.Advanced) ] public virtual int Count { get { return List.Count; } } ///Gets the total number of elements in a collection. ////// /// public void CopyTo(Array ar, int index) { List.CopyTo(ar, index); } ///[To be supplied.] ////// /// public IEnumerator GetEnumerator() { return List.GetEnumerator(); } ///Gets an IEnumerator for the collection. ////// /// [ Browsable(false), EditorBrowsable(EditorBrowsableState.Advanced) ] public bool IsReadOnly { get { return false; } } ///[To be supplied.] ////// /// [Browsable(false), EditorBrowsable(EditorBrowsableState.Advanced)] public bool IsSynchronized { get { // so the user will know that it has to lock this object return false; } } ///[To be supplied.] ////// /// [Browsable(false), EditorBrowsable(EditorBrowsableState.Advanced)] public object SyncRoot { get { return this; } } ///[To be supplied.] ////// /// protected virtual ArrayList List { get { return null; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TerminateSequence.cs
- AffineTransform3D.cs
- FileDialog_Vista_Interop.cs
- BindingCollection.cs
- ExpressionParser.cs
- ReadOnlyHierarchicalDataSourceView.cs
- JsonSerializer.cs
- TimeoutValidationAttribute.cs
- SourceFilter.cs
- Utils.cs
- DocumentApplicationDocumentViewer.cs
- InvalidCommandTreeException.cs
- PromptEventArgs.cs
- HtmlUtf8RawTextWriter.cs
- WebPartDeleteVerb.cs
- AssociationSetMetadata.cs
- CustomErrorsSection.cs
- IERequestCache.cs
- UnsafeNativeMethods.cs
- MergablePropertyAttribute.cs
- TextLine.cs
- InstanceLockLostException.cs
- FileDataSourceCache.cs
- CorrelationHandle.cs
- Visual3D.cs
- SecurityUtils.cs
- OleCmdHelper.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ConsumerConnectionPoint.cs
- FactoryMaker.cs
- XmlBinaryReader.cs
- FlagsAttribute.cs
- TextTreeNode.cs
- MenuBindingsEditor.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- HandoffBehavior.cs
- ColorAnimationBase.cs
- KnownTypeAttribute.cs
- HMACSHA512.cs
- XmlQualifiedName.cs
- SelectionItemPattern.cs
- ServiceRoute.cs
- ScriptingWebServicesSectionGroup.cs
- ThreadStateException.cs
- BindableAttribute.cs
- NameSpaceEvent.cs
- QilParameter.cs
- ItemChangedEventArgs.cs
- OneToOneMappingSerializer.cs
- DbLambda.cs
- Models.cs
- CodeExpressionCollection.cs
- Interlocked.cs
- BamlBinaryWriter.cs
- MailAddress.cs
- DictionarySectionHandler.cs
- EventMappingSettings.cs
- Attributes.cs
- Button.cs
- SourceElementsCollection.cs
- ContentFilePart.cs
- SHA512Managed.cs
- _DigestClient.cs
- TouchesOverProperty.cs
- DataSourceConverter.cs
- BitmapEffectOutputConnector.cs
- MasterPageBuildProvider.cs
- SymLanguageVendor.cs
- Executor.cs
- HtmlHead.cs
- CultureTable.cs
- Command.cs
- PackageStore.cs
- SharedDp.cs
- UnsafeCollabNativeMethods.cs
- AutomationEventArgs.cs
- StackSpiller.Bindings.cs
- OleDbEnumerator.cs
- BindingContext.cs
- FileReservationCollection.cs
- FaultDescription.cs
- ObjectListComponentEditor.cs
- ChannelServices.cs
- ToolStripItemImageRenderEventArgs.cs
- ViewGenResults.cs
- ParentUndoUnit.cs
- XmlToDatasetMap.cs
- TargetException.cs
- TextRange.cs
- ConfigErrorGlyph.cs
- CompilationSection.cs
- DataObjectAttribute.cs
- UserControlCodeDomTreeGenerator.cs
- DesignerCapabilities.cs
- EncryptedReference.cs
- RegexFCD.cs
- ObjectQueryExecutionPlan.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- InvokePatternIdentifiers.cs
- ExportOptions.cs