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
- DoubleStorage.cs
- RegisteredArrayDeclaration.cs
- LambdaCompiler.Logical.cs
- MarshalByValueComponent.cs
- TextEditorParagraphs.cs
- ResourcePart.cs
- RolePrincipal.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- HierarchicalDataBoundControl.cs
- AnnotationDocumentPaginator.cs
- GrammarBuilderBase.cs
- GridView.cs
- ValueProviderWrapper.cs
- Point3DCollection.cs
- SettingsBase.cs
- SemanticValue.cs
- InvalidChannelBindingException.cs
- ProcessManager.cs
- Int32Converter.cs
- TransformGroup.cs
- ListControlConvertEventArgs.cs
- ActiveDocumentEvent.cs
- FileEnumerator.cs
- Int32Rect.cs
- RecommendedAsConfigurableAttribute.cs
- SafePointer.cs
- XmlSchemaAnnotated.cs
- SQLSingle.cs
- MapPathBasedVirtualPathProvider.cs
- NonceToken.cs
- HttpAsyncResult.cs
- Profiler.cs
- TextModifier.cs
- BatchServiceHost.cs
- PointCollection.cs
- WorkerRequest.cs
- TraceListeners.cs
- BitmapEffectGroup.cs
- PeerPresenceInfo.cs
- SByteConverter.cs
- AspNetSynchronizationContext.cs
- CompiledELinqQueryState.cs
- SchemaEntity.cs
- WebPartMovingEventArgs.cs
- __FastResourceComparer.cs
- ToolBar.cs
- ComponentChangedEvent.cs
- ADMembershipUser.cs
- RawKeyboardInputReport.cs
- OdbcInfoMessageEvent.cs
- MouseActionValueSerializer.cs
- ImpersonationContext.cs
- ProviderCollection.cs
- FactoryMaker.cs
- wmiutil.cs
- XmlLinkedNode.cs
- LinqDataSourceContextEventArgs.cs
- SelectionEditor.cs
- FrameworkObject.cs
- RootProfilePropertySettingsCollection.cs
- SafeViewOfFileHandle.cs
- objectresult_tresulttype.cs
- ResourcePart.cs
- RadioButtonBaseAdapter.cs
- XmlSchemaComplexType.cs
- WebContentFormatHelper.cs
- CssStyleCollection.cs
- BufferedReadStream.cs
- Popup.cs
- BindingManagerDataErrorEventArgs.cs
- LinearKeyFrames.cs
- Vector3DCollectionConverter.cs
- ConfigurationValues.cs
- WebSysDescriptionAttribute.cs
- StopStoryboard.cs
- GroupPartitionExpr.cs
- CompilerCollection.cs
- TableRowCollection.cs
- DynamicContractTypeBuilder.cs
- Int32EqualityComparer.cs
- ProtocolsConfigurationEntry.cs
- odbcmetadatacollectionnames.cs
- SafeThemeHandle.cs
- DataGridViewCellEventArgs.cs
- PointUtil.cs
- TextDecorations.cs
- Int64AnimationBase.cs
- EvidenceBase.cs
- FlatButtonAppearance.cs
- CurrentChangedEventManager.cs
- IDispatchConstantAttribute.cs
- OleDbDataAdapter.cs
- WindowManager.cs
- StringAnimationUsingKeyFrames.cs
- HandlerBase.cs
- AutomationElementCollection.cs
- CreateParams.cs
- DispatcherProcessingDisabled.cs
- CodeSnippetTypeMember.cs
- StringToken.cs