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
- ControlIdConverter.cs
- HitTestResult.cs
- KerberosReceiverSecurityToken.cs
- PageFunction.cs
- Wildcard.cs
- ObfuscationAttribute.cs
- HashJoinQueryOperatorEnumerator.cs
- RoleBoolean.cs
- WebPartConnectionCollection.cs
- TextEditorLists.cs
- XPathChildIterator.cs
- XsdDateTime.cs
- TextPointerBase.cs
- FontInfo.cs
- DesignerActionPanel.cs
- Stacktrace.cs
- SimpleApplicationHost.cs
- ADMembershipProvider.cs
- IntegerValidator.cs
- NonClientArea.cs
- WebPartHelpVerb.cs
- TypeBinaryExpression.cs
- ModelPropertyCollectionImpl.cs
- RegisteredScript.cs
- PersianCalendar.cs
- DataListItemEventArgs.cs
- ToolStripDropDown.cs
- HiddenField.cs
- ClientApiGenerator.cs
- webbrowsersite.cs
- PopOutPanel.cs
- PersistenceContext.cs
- MatrixAnimationUsingPath.cs
- PreviewKeyDownEventArgs.cs
- SqlProviderUtilities.cs
- XmlDocument.cs
- MailDefinition.cs
- Converter.cs
- ToolStripDropDownItem.cs
- ThreadExceptionDialog.cs
- InternalCache.cs
- EntityWrapper.cs
- EdmItemCollection.OcAssemblyCache.cs
- ConfigurationValue.cs
- SortDescription.cs
- SelectionHighlightInfo.cs
- ResponseBodyWriter.cs
- precedingquery.cs
- DynamicObject.cs
- DiscoveryClientReferences.cs
- XmlWrappingReader.cs
- ActivityTypeDesigner.xaml.cs
- MatrixValueSerializer.cs
- EntityConnectionStringBuilder.cs
- CounterSampleCalculator.cs
- FormsAuthenticationConfiguration.cs
- DoubleLinkListEnumerator.cs
- SystemTcpConnection.cs
- TableRowCollection.cs
- ChangeNode.cs
- UrlRoutingHandler.cs
- XmlSerializerFactory.cs
- ButtonFieldBase.cs
- DbConnectionClosed.cs
- InternalBase.cs
- TreeSet.cs
- ClientSettings.cs
- BindingsCollection.cs
- Vector3DAnimation.cs
- BitmapFrame.cs
- ExtendedPropertyInfo.cs
- Int64.cs
- JoinCqlBlock.cs
- ScriptModule.cs
- OutputCacheEntry.cs
- TextWriter.cs
- XPathPatternParser.cs
- SqlTypesSchemaImporter.cs
- RSAPKCS1SignatureFormatter.cs
- DecoratedNameAttribute.cs
- XPathDescendantIterator.cs
- TraceLog.cs
- File.cs
- PermissionSetTriple.cs
- DownloadProgressEventArgs.cs
- PageTheme.cs
- XmlSchemaImporter.cs
- MouseActionConverter.cs
- SiteMapNodeCollection.cs
- TextTabProperties.cs
- SchemaCollectionCompiler.cs
- JsonWriterDelegator.cs
- ReservationCollection.cs
- ToolStripSplitButton.cs
- XmlSchemaFacet.cs
- CreateParams.cs
- OrderByBuilder.cs
- CustomErrorsSectionWrapper.cs
- OneOfElement.cs
- Propagator.ExtentPlaceholderCreator.cs