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
- LogicalTreeHelper.cs
- Type.cs
- TextTreeText.cs
- RawKeyboardInputReport.cs
- TokenizerHelper.cs
- GPStream.cs
- RecognizedPhrase.cs
- PropertyDescriptor.cs
- InternalConfigConfigurationFactory.cs
- StrokeNodeEnumerator.cs
- GlobalizationAssembly.cs
- Brush.cs
- TablePattern.cs
- ObjectRef.cs
- PointAnimationUsingPath.cs
- EntityEntry.cs
- FunctionCommandText.cs
- HebrewCalendar.cs
- UriTemplateClientFormatter.cs
- OuterGlowBitmapEffect.cs
- DataGridViewTextBoxColumn.cs
- ComponentEditorForm.cs
- Viewport3DAutomationPeer.cs
- TextServicesLoader.cs
- SupportsPreviewControlAttribute.cs
- DefaultPrintController.cs
- XmlDataSourceDesigner.cs
- BitmapEffectDrawingContent.cs
- SliderAutomationPeer.cs
- CqlBlock.cs
- ServiceModelConfigurationElementCollection.cs
- CompilerLocalReference.cs
- EventWaitHandleSecurity.cs
- SpellerHighlightLayer.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- BitStream.cs
- CurrentTimeZone.cs
- Directory.cs
- ModelUIElement3D.cs
- DebuggerAttributes.cs
- SqlInternalConnectionSmi.cs
- SecureEnvironment.cs
- SecurityKeyIdentifier.cs
- PropertyInformation.cs
- NetNamedPipeSecurity.cs
- Matrix3DConverter.cs
- FlowDocumentPage.cs
- SecurityResources.cs
- StyleCollection.cs
- _SslState.cs
- HTTPNotFoundHandler.cs
- WinInet.cs
- StylusPoint.cs
- OleDbWrapper.cs
- ItemMap.cs
- ExtensionSimplifierMarkupObject.cs
- AsymmetricSignatureFormatter.cs
- HiddenField.cs
- PermissionAttributes.cs
- VariableAction.cs
- Emitter.cs
- RsaSecurityKey.cs
- OleDbReferenceCollection.cs
- PropertyGridCommands.cs
- DiscriminatorMap.cs
- ReferenceConverter.cs
- DesignParameter.cs
- RpcCryptoContext.cs
- StaticResourceExtension.cs
- FileLogRecordStream.cs
- WebPartTransformerAttribute.cs
- ImageButton.cs
- PrincipalPermission.cs
- EncoderBestFitFallback.cs
- RIPEMD160.cs
- XmlSchemaInclude.cs
- Constraint.cs
- InternalBufferOverflowException.cs
- GeometryValueSerializer.cs
- TextReturnReader.cs
- DefaultValueAttribute.cs
- InertiaTranslationBehavior.cs
- FrameworkElement.cs
- WindowsGrip.cs
- GroupBox.cs
- VectorValueSerializer.cs
- DocumentOrderQuery.cs
- EmptyQuery.cs
- LineSegment.cs
- ReaderOutput.cs
- HtmlTextViewAdapter.cs
- LifetimeServices.cs
- PasswordBox.cs
- WebPartZoneBase.cs
- DataRowView.cs
- documentsequencetextcontainer.cs
- ConfigurationSectionCollection.cs
- DesignerActionUI.cs
- ReferenceConverter.cs
- ArraySubsetEnumerator.cs