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
- StylusButtonEventArgs.cs
- ReadOnlyDataSourceView.cs
- InputQueue.cs
- CompilerGeneratedAttribute.cs
- MergeLocalizationDirectives.cs
- TileBrush.cs
- FilterException.cs
- RowToFieldTransformer.cs
- TableLayout.cs
- PersonalizationStateQuery.cs
- BitmapEffectInputData.cs
- HMACRIPEMD160.cs
- SocketInformation.cs
- OleDbStruct.cs
- LogicalCallContext.cs
- WebPartMenuStyle.cs
- EventsTab.cs
- DES.cs
- ProvidersHelper.cs
- ImportFileRequest.cs
- ClientScriptItem.cs
- View.cs
- RectangleF.cs
- ServiceModelSecurityTokenRequirement.cs
- TabControl.cs
- XPathDocument.cs
- PersonalizationStateQuery.cs
- NavigatorInvalidBodyAccessException.cs
- ProviderConnectionPointCollection.cs
- Vector3DValueSerializer.cs
- KeyedCollection.cs
- SqlCacheDependency.cs
- WindowsToolbar.cs
- MetabaseSettings.cs
- RelationshipDetailsRow.cs
- StyleSheetRefUrlEditor.cs
- ChooseAction.cs
- WebServiceClientProxyGenerator.cs
- RecordManager.cs
- InputGestureCollection.cs
- ContentDesigner.cs
- _IPv4Address.cs
- EdmRelationshipRoleAttribute.cs
- DataGridBoolColumn.cs
- StreamHelper.cs
- X509Chain.cs
- NameNode.cs
- MessageHeader.cs
- TraceListeners.cs
- UIEndRequest.cs
- BrushMappingModeValidation.cs
- ToolTipAutomationPeer.cs
- Listbox.cs
- Frame.cs
- SpecularMaterial.cs
- WSDualHttpSecurity.cs
- MouseGesture.cs
- PriorityBinding.cs
- controlskin.cs
- RowCache.cs
- InheritanceUI.cs
- ApplicationException.cs
- PageContentAsyncResult.cs
- RepeatButtonAutomationPeer.cs
- DataBindingList.cs
- ActivityExecutor.cs
- EndOfStreamException.cs
- NameValueConfigurationCollection.cs
- MaskedTextProvider.cs
- ObjRef.cs
- WebHttpBindingCollectionElement.cs
- ViewRendering.cs
- FontDifferentiator.cs
- CompressionTracing.cs
- SocketException.cs
- UrlMapping.cs
- StylusCaptureWithinProperty.cs
- COM2Properties.cs
- SevenBitStream.cs
- FlowNode.cs
- ActivityWithResult.cs
- BuildProviderAppliesToAttribute.cs
- Avt.cs
- SQLRoleProvider.cs
- IDQuery.cs
- TemplateControlParser.cs
- SmiConnection.cs
- PreviewKeyDownEventArgs.cs
- ParallelTimeline.cs
- UnSafeCharBuffer.cs
- NativeObjectSecurity.cs
- SessionSwitchEventArgs.cs
- Object.cs
- OutputWindow.cs
- TransformerInfo.cs
- AstTree.cs
- LinkedDataMemberFieldEditor.cs
- _BaseOverlappedAsyncResult.cs
- CollectionBuilder.cs
- CommonBehaviorsSection.cs