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
- XPathNode.cs
- ObfuscateAssemblyAttribute.cs
- HttpWebRequest.cs
- SQLRoleProvider.cs
- CompositeFontFamily.cs
- ZoneLinkButton.cs
- SplineKeyFrames.cs
- BasicAsyncResult.cs
- SqlColumnizer.cs
- TransformValueSerializer.cs
- XmlWrappingReader.cs
- SqlParameter.cs
- UIElementParagraph.cs
- GlyphsSerializer.cs
- DesignerForm.cs
- ApplicationSecurityManager.cs
- XmlMtomWriter.cs
- MediaPlayerState.cs
- ThemeConfigurationDialog.cs
- QueryOptionExpression.cs
- smtpconnection.cs
- ResXFileRef.cs
- SizeValueSerializer.cs
- InheritanceAttribute.cs
- EventLogPermissionEntry.cs
- EdgeProfileValidation.cs
- CreateUserErrorEventArgs.cs
- ResourceDisplayNameAttribute.cs
- StaticFileHandler.cs
- ToolStripOverflow.cs
- ExpanderAutomationPeer.cs
- WebConfigurationManager.cs
- SqlUdtInfo.cs
- ChtmlPageAdapter.cs
- AccessibleObject.cs
- CrossContextChannel.cs
- NavigationWindow.cs
- Int32.cs
- ImportContext.cs
- Annotation.cs
- PropertyPath.cs
- BindableTemplateBuilder.cs
- SRGSCompiler.cs
- PartialArray.cs
- TypeSystem.cs
- ConnectionStringSettingsCollection.cs
- CompiledXpathExpr.cs
- OleCmdHelper.cs
- XmlAtomicValue.cs
- NativeStructs.cs
- OracleRowUpdatedEventArgs.cs
- ApplicationSettingsBase.cs
- ExeConfigurationFileMap.cs
- SignedXmlDebugLog.cs
- Literal.cs
- DataTableClearEvent.cs
- Rect.cs
- PkcsUtils.cs
- _DynamicWinsockMethods.cs
- SecuritySessionFilter.cs
- EdmMember.cs
- HashAlgorithm.cs
- Pair.cs
- SqlParameterCollection.cs
- ViewSimplifier.cs
- HttpException.cs
- RuntimeResourceSet.cs
- BuildResult.cs
- ContractsBCL.cs
- UndoManager.cs
- PreviewPrintController.cs
- UnsafeNativeMethodsMilCoreApi.cs
- XamlNamespaceHelper.cs
- XmlSchemaAttributeGroupRef.cs
- SqlConnectionStringBuilder.cs
- NativeMethods.cs
- UnsafeNativeMethods.cs
- SettingsProviderCollection.cs
- StringConverter.cs
- ZipIOFileItemStream.cs
- Exceptions.cs
- ExpressionWriter.cs
- validation.cs
- Clock.cs
- ErrorReporting.cs
- SystemDiagnosticsSection.cs
- Model3DGroup.cs
- NonParentingControl.cs
- Contracts.cs
- ErrorView.xaml.cs
- NativeMethods.cs
- Compiler.cs
- CodeVariableReferenceExpression.cs
- ReferenceService.cs
- XamlNamespaceHelper.cs
- CallSite.cs
- LayoutEvent.cs
- RTLAwareMessageBox.cs
- _FixedSizeReader.cs
- FieldNameLookup.cs