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
- PropertyTabChangedEvent.cs
- Size3D.cs
- BitStack.cs
- LineServicesCallbacks.cs
- _UncName.cs
- RadioButtonPopupAdapter.cs
- ApplicationSecurityManager.cs
- RuntimeResourceSet.cs
- ListViewGroupCollectionEditor.cs
- AutomationPatternInfo.cs
- BrowserCapabilitiesCompiler.cs
- IsolationInterop.cs
- SerializationSectionGroup.cs
- TreeNodeCollectionEditor.cs
- NumberSubstitution.cs
- OleDbParameter.cs
- PauseStoryboard.cs
- ProcessHostMapPath.cs
- TypeSystemProvider.cs
- DataReaderContainer.cs
- SinglePageViewer.cs
- ActionItem.cs
- ResourcePermissionBase.cs
- TransactionCache.cs
- MarshalByValueComponent.cs
- RootBrowserWindowProxy.cs
- Header.cs
- SystemIcmpV6Statistics.cs
- StateElementCollection.cs
- InternalTypeHelper.cs
- LoginView.cs
- invalidudtexception.cs
- Zone.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ScalarRestriction.cs
- ServiceOperation.cs
- TypeTypeConverter.cs
- DataControlButton.cs
- DbConnectionHelper.cs
- RectangleGeometry.cs
- ApplicationHost.cs
- GridViewRowCollection.cs
- SmtpCommands.cs
- StructuredTypeEmitter.cs
- DeleteIndexBinder.cs
- ListCollectionView.cs
- GroupQuery.cs
- FutureFactory.cs
- AnnotationMap.cs
- ModifyActivitiesPropertyDescriptor.cs
- PointConverter.cs
- GenericIdentity.cs
- WorkflowMarkupSerializationException.cs
- FormattedText.cs
- AnalyzedTree.cs
- ComponentResourceManager.cs
- WindowsFont.cs
- DataServiceResponse.cs
- ParserStack.cs
- StrongNameKeyPair.cs
- SemaphoreSecurity.cs
- XmlEncodedRawTextWriter.cs
- RelationshipFixer.cs
- AdapterDictionary.cs
- ClientTargetCollection.cs
- HostingEnvironment.cs
- DataMisalignedException.cs
- ChangePassword.cs
- OutputCacheSettingsSection.cs
- X509CertificateCollection.cs
- LOSFormatter.cs
- DataContractSerializer.cs
- UInt64Storage.cs
- OleDbConnectionInternal.cs
- ProfileModule.cs
- XamlStyleSerializer.cs
- UniformGrid.cs
- SplitterCancelEvent.cs
- ServiceObjectContainer.cs
- PreApplicationStartMethodAttribute.cs
- SizeAnimationBase.cs
- TemplateEditingService.cs
- TextRangeEditTables.cs
- PropertyChangeTracker.cs
- SelectedDatesCollection.cs
- Propagator.JoinPropagator.cs
- AnimationClockResource.cs
- SqlFlattener.cs
- Parameter.cs
- VariantWrapper.cs
- PropertyInfoSet.cs
- RemotingConfiguration.cs
- RowsCopiedEventArgs.cs
- ClientCredentialsElement.cs
- Opcode.cs
- ResourcesGenerator.cs
- SystemIPGlobalStatistics.cs
- StylusEditingBehavior.cs
- TreeNodeStyle.cs
- ClientUrlResolverWrapper.cs