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
- AttributeCollection.cs
- DataGridViewColumnEventArgs.cs
- WorkflowElementDialogWindow.xaml.cs
- MessagePropertyDescription.cs
- SystemTcpConnection.cs
- CustomErrorsSection.cs
- COM2FontConverter.cs
- CurrentChangingEventArgs.cs
- XmlSchemaImport.cs
- RegexStringValidator.cs
- HMACRIPEMD160.cs
- Pair.cs
- MarshalByValueComponent.cs
- RadioButtonFlatAdapter.cs
- EncryptedXml.cs
- Paragraph.cs
- ConfigurationProperty.cs
- WebPartVerbsEventArgs.cs
- ActivationArguments.cs
- PropertyHelper.cs
- EntityDataSourceWizardForm.cs
- XmlSchemaInfo.cs
- EmptyStringExpandableObjectConverter.cs
- XmlHierarchicalEnumerable.cs
- RegexMatchCollection.cs
- GeneratedContractType.cs
- SiteMapNodeItemEventArgs.cs
- TreeNodeBindingCollection.cs
- SqlReferenceCollection.cs
- VisualTarget.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- OdbcReferenceCollection.cs
- OutputCacheProfile.cs
- WebPartTransformerCollection.cs
- SettingsSection.cs
- EncoderParameter.cs
- ProjectionPath.cs
- UInt32Converter.cs
- DataSourceSelectArguments.cs
- CssClassPropertyAttribute.cs
- UserNameServiceElement.cs
- HttpRequest.cs
- XmlLinkedNode.cs
- XmlWhitespace.cs
- IOThreadTimer.cs
- EntryPointNotFoundException.cs
- SqlDataSourceStatusEventArgs.cs
- ForEachAction.cs
- FormsAuthenticationUser.cs
- EventLogLink.cs
- GridViewRowCollection.cs
- StoragePropertyMapping.cs
- CqlGenerator.cs
- IisTraceWebEventProvider.cs
- OLEDB_Enum.cs
- FormCollection.cs
- RevocationPoint.cs
- BufferedGraphicsContext.cs
- CommandLineParser.cs
- GorillaCodec.cs
- ADMembershipProvider.cs
- ForwardPositionQuery.cs
- CaseStatementSlot.cs
- _NTAuthentication.cs
- ProgressChangedEventArgs.cs
- InputBinding.cs
- ClientConfigurationHost.cs
- TraceSwitch.cs
- XmlSchemaAny.cs
- GrammarBuilderBase.cs
- Propagator.Evaluator.cs
- FontFamily.cs
- TransactionManager.cs
- URL.cs
- UdpDiscoveryEndpoint.cs
- ToolStripSettings.cs
- FeedUtils.cs
- Util.cs
- WebMethodAttribute.cs
- COAUTHIDENTITY.cs
- IItemProperties.cs
- DbConnectionHelper.cs
- ContentType.cs
- ViewStateModeByIdAttribute.cs
- BitmapDownload.cs
- DataGridHyperlinkColumn.cs
- TextServicesCompartment.cs
- TreeNodeStyle.cs
- AppliedDeviceFiltersDialog.cs
- Html32TextWriter.cs
- ProcessModule.cs
- OdbcUtils.cs
- parserscommon.cs
- ControlPaint.cs
- WebScriptMetadataInstanceContextProvider.cs
- UnsafeNativeMethods.cs
- PrivateFontCollection.cs
- PathGeometry.cs
- XmlILIndex.cs
- AsyncPostBackTrigger.cs