Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / BaseCollection.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChannelSinkStacks.cs
- WorkerRequest.cs
- FontInfo.cs
- DesignerLoader.cs
- DesignOnlyAttribute.cs
- ErrorRuntimeConfig.cs
- FormView.cs
- DateTimeFormat.cs
- ResourceSet.cs
- DesignerTransactionCloseEvent.cs
- LocatorPart.cs
- WindowsFont.cs
- BitmapDecoder.cs
- BaseDataListPage.cs
- FtpCachePolicyElement.cs
- ToolStripItemImageRenderEventArgs.cs
- PageVisual.cs
- DriveNotFoundException.cs
- RsaKeyGen.cs
- MemberRelationshipService.cs
- MenuCommand.cs
- UnsupportedPolicyOptionsException.cs
- DesignerOptionService.cs
- MatrixTransform.cs
- PublisherMembershipCondition.cs
- HashCodeCombiner.cs
- CodeAccessSecurityEngine.cs
- DocumentApplication.cs
- Lasso.cs
- CancelEventArgs.cs
- IntSecurity.cs
- Registry.cs
- DuplicateContext.cs
- Material.cs
- Compiler.cs
- SlotInfo.cs
- Win32NamedPipes.cs
- RegexGroupCollection.cs
- SoapSchemaMember.cs
- NgenServicingAttributes.cs
- Trace.cs
- DescendantOverDescendantQuery.cs
- WebPart.cs
- MetadataFile.cs
- CngUIPolicy.cs
- CodeAttributeDeclarationCollection.cs
- ViewGenResults.cs
- CngKeyBlobFormat.cs
- AutomationPattern.cs
- AssertFilter.cs
- DataGridPagerStyle.cs
- Quaternion.cs
- ImageSource.cs
- FileSystemInfo.cs
- ReadOnlyCollectionBase.cs
- WebBrowsableAttribute.cs
- XmlSchemaObjectTable.cs
- CompiledIdentityConstraint.cs
- SessionStateModule.cs
- Schema.cs
- X509Certificate2.cs
- ComEventsHelper.cs
- SqlConnectionPoolGroupProviderInfo.cs
- TextRangeEdit.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- LookupBindingPropertiesAttribute.cs
- RegexWriter.cs
- GeometryCombineModeValidation.cs
- XmlSchemaAnyAttribute.cs
- GifBitmapEncoder.cs
- NextPreviousPagerField.cs
- BasicAsyncResult.cs
- Blend.cs
- WebPartCatalogCloseVerb.cs
- Brushes.cs
- Operator.cs
- MsmqIntegrationBindingCollectionElement.cs
- MetadataPropertyAttribute.cs
- Int64.cs
- ListItemCollection.cs
- Property.cs
- NumberAction.cs
- Scripts.cs
- BufferAllocator.cs
- XmlEnumAttribute.cs
- RestHandler.cs
- SmiRequestExecutor.cs
- SettingsBase.cs
- WindowsStreamSecurityBindingElement.cs
- C14NUtil.cs
- BasicExpressionVisitor.cs
- LambdaCompiler.Unary.cs
- XmlNotation.cs
- MarkupExtensionReturnTypeAttribute.cs
- CombinedGeometry.cs
- JoinSymbol.cs
- bindurihelper.cs
- XmlReturnReader.cs
- FilterableData.cs