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
- ScriptManager.cs
- RunClient.cs
- DetailsViewPagerRow.cs
- AsyncStreamReader.cs
- DataGridViewCellValueEventArgs.cs
- XsltLibrary.cs
- ExceptionHandler.cs
- SessionStateContainer.cs
- DbDataAdapter.cs
- GridViewDeleteEventArgs.cs
- TextBox.cs
- ProbeMatchesApril2005.cs
- MD5CryptoServiceProvider.cs
- StreamWriter.cs
- XmlSiteMapProvider.cs
- ServiceModelConfigurationElementCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- TraceProvider.cs
- FrugalList.cs
- GenericUriParser.cs
- Root.cs
- SystemColors.cs
- RegisteredDisposeScript.cs
- HttpBindingExtension.cs
- X509CertificateClaimSet.cs
- WbemException.cs
- ScriptResourceDefinition.cs
- PersonalizableTypeEntry.cs
- ClientScriptManagerWrapper.cs
- PolyQuadraticBezierSegment.cs
- IdentityHolder.cs
- RawStylusActions.cs
- DetailsViewDeletedEventArgs.cs
- ListSourceHelper.cs
- PtsContext.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- XmlCodeExporter.cs
- HttpValueCollection.cs
- OciLobLocator.cs
- CommonProperties.cs
- columnmapkeybuilder.cs
- WebResourceAttribute.cs
- CodeDirectionExpression.cs
- URIFormatException.cs
- HandlerFactoryCache.cs
- PackagingUtilities.cs
- ObjRef.cs
- FilterEventArgs.cs
- UserControl.cs
- DataGridViewLinkCell.cs
- SessionPageStatePersister.cs
- ItemsPanelTemplate.cs
- AutoSizeComboBox.cs
- HtmlInputRadioButton.cs
- CommandSet.cs
- MaxSessionCountExceededException.cs
- WebPartManagerInternals.cs
- ServiceDescriptions.cs
- _NegoStream.cs
- SqlCachedBuffer.cs
- Accessors.cs
- PasswordDeriveBytes.cs
- ConstrainedDataObject.cs
- FontUnitConverter.cs
- HttpDebugHandler.cs
- DependencyObjectProvider.cs
- DispatcherHookEventArgs.cs
- TextRunCache.cs
- GcSettings.cs
- EnlistmentTraceIdentifier.cs
- HttpProcessUtility.cs
- DeferredReference.cs
- CompoundFileReference.cs
- TextEditorTables.cs
- PopupRootAutomationPeer.cs
- RelOps.cs
- WebBrowserProgressChangedEventHandler.cs
- RSAPKCS1SignatureDeformatter.cs
- DataControlButton.cs
- Timer.cs
- BufferedGraphicsManager.cs
- CancelEventArgs.cs
- BeginGetFileNameFromUserRequest.cs
- DiscoveryClientDuplexChannel.cs
- OleDbStruct.cs
- RotateTransform.cs
- RegexCharClass.cs
- Privilege.cs
- BatchWriter.cs
- TextLineBreak.cs
- securitycriticaldata.cs
- CompleteWizardStep.cs
- RegexCompilationInfo.cs
- EntityClientCacheKey.cs
- ServiceReflector.cs
- GenericTypeParameterBuilder.cs
- ObjectViewEntityCollectionData.cs
- ConfigXmlText.cs
- TextUtf8RawTextWriter.cs
- ServiceReference.cs