Code:
/ FX-1434 / FX-1434 / 1.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
- ExecutionEngineException.cs
- RuntimeConfig.cs
- ListItemCollection.cs
- XmlSchemaGroupRef.cs
- MatrixTransform3D.cs
- Util.cs
- InputBinder.cs
- DoubleMinMaxAggregationOperator.cs
- EnumValAlphaComparer.cs
- UnicastIPAddressInformationCollection.cs
- DataGridViewComboBoxColumn.cs
- CommandValueSerializer.cs
- EntityDataSourceColumn.cs
- AsyncContentLoadedEventArgs.cs
- XamlTypeWithExplicitNamespace.cs
- _ConnectOverlappedAsyncResult.cs
- LogWriteRestartAreaAsyncResult.cs
- LineSegment.cs
- XmlTextEncoder.cs
- IntegerValidatorAttribute.cs
- EventManager.cs
- PageThemeParser.cs
- RelationshipConstraintValidator.cs
- StateMachineAction.cs
- KeyGesture.cs
- WebHttpEndpointElement.cs
- IntegerValidator.cs
- PropertyMetadata.cs
- SqlRowUpdatingEvent.cs
- TemplateComponentConnector.cs
- TreeNodeMouseHoverEvent.cs
- DataGridDetailsPresenterAutomationPeer.cs
- FrameworkPropertyMetadata.cs
- MultiTargetingUtil.cs
- XslException.cs
- RuntimeResourceSet.cs
- Polyline.cs
- MouseWheelEventArgs.cs
- AsyncWaitHandle.cs
- PropertyMapper.cs
- LogEntrySerialization.cs
- HashRepartitionStream.cs
- PageCodeDomTreeGenerator.cs
- WebPartDisplayModeCancelEventArgs.cs
- Path.cs
- ResourceDefaultValueAttribute.cs
- IItemContainerGenerator.cs
- HwndHost.cs
- HandlerFactoryCache.cs
- SerializationSectionGroup.cs
- WebHttpSecurity.cs
- MsmqIntegrationProcessProtocolHandler.cs
- basenumberconverter.cs
- PersistChildrenAttribute.cs
- ProfileSettingsCollection.cs
- Convert.cs
- SHA1.cs
- DeploymentSectionCache.cs
- Enum.cs
- GridViewRowCollection.cs
- HashCoreRequest.cs
- ProfileProvider.cs
- ComboBox.cs
- Gdiplus.cs
- DataGridPagerStyle.cs
- LogSwitch.cs
- SubpageParagraph.cs
- DatePicker.cs
- NewItemsContextMenuStrip.cs
- ValidationError.cs
- AssemblyAttributes.cs
- SpeechSeg.cs
- LocationUpdates.cs
- ServiceModelSectionGroup.cs
- TreeViewAutomationPeer.cs
- SqlCommand.cs
- EntryIndex.cs
- WorkflowOwnershipException.cs
- TransformerTypeCollection.cs
- MultipleViewProviderWrapper.cs
- InternalDuplexBindingElement.cs
- DataSourceHelper.cs
- RequestCachePolicyConverter.cs
- UTF32Encoding.cs
- TextRangeEdit.cs
- AsyncOperation.cs
- ComponentTray.cs
- DataContract.cs
- CookieProtection.cs
- SmiEventSink.cs
- Visitors.cs
- TreeViewTemplateSelector.cs
- HierarchicalDataSourceDesigner.cs
- PreProcessor.cs
- HttpHandlersSection.cs
- FtpWebRequest.cs
- SqlDataReaderSmi.cs
- ReflectionTypeLoadException.cs
- OperationParameterInfo.cs
- StoragePropertyMapping.cs