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
- CodeExpressionCollection.cs
- LeaseManager.cs
- SystemIcmpV4Statistics.cs
- CapabilitiesSection.cs
- bidPrivateBase.cs
- UnorderedHashRepartitionStream.cs
- RadioButtonBaseAdapter.cs
- CodeBlockBuilder.cs
- ObjectStorage.cs
- FontFaceLayoutInfo.cs
- JulianCalendar.cs
- OdbcDataAdapter.cs
- TabletDeviceInfo.cs
- SystemPens.cs
- HelloOperationCD1AsyncResult.cs
- SmuggledIUnknown.cs
- HandlerFactoryCache.cs
- CodeSpit.cs
- HwndSourceParameters.cs
- GeneralTransform2DTo3D.cs
- NoneExcludedImageIndexConverter.cs
- FlowNode.cs
- DataGridCellAutomationPeer.cs
- ListMarkerLine.cs
- BinaryNode.cs
- CmsUtils.cs
- UnsafeNativeMethods.cs
- LicFileLicenseProvider.cs
- DbConnectionPoolOptions.cs
- LogExtent.cs
- FieldBuilder.cs
- IApplicationTrustManager.cs
- SR.Designer.cs
- WindowsTooltip.cs
- QueryGeneratorBase.cs
- MimeBasePart.cs
- TypedTableBase.cs
- RawKeyboardInputReport.cs
- DescendantQuery.cs
- DataGridClipboardCellContent.cs
- GeneralTransformGroup.cs
- ReflectionTypeLoadException.cs
- NavigationProperty.cs
- SpAudioStreamWrapper.cs
- DomainUpDown.cs
- MessageVersionConverter.cs
- XmlMapping.cs
- odbcmetadatacolumnnames.cs
- CompatibleIComparer.cs
- XNodeValidator.cs
- OdbcConnectionString.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SoapSchemaMember.cs
- Socket.cs
- DataServiceContext.cs
- TraceHandler.cs
- FormatException.cs
- MouseBinding.cs
- COAUTHINFO.cs
- HttpBrowserCapabilitiesBase.cs
- ConcatQueryOperator.cs
- QuaternionKeyFrameCollection.cs
- SecurityTokenSerializer.cs
- StoreAnnotationsMap.cs
- FunctionNode.cs
- XmlHierarchicalDataSourceView.cs
- DictionaryMarkupSerializer.cs
- PrintDocument.cs
- StringUtil.cs
- JsonDeserializer.cs
- SqlInternalConnectionTds.cs
- FastPropertyAccessor.cs
- Math.cs
- UIElementHelper.cs
- RoutedPropertyChangedEventArgs.cs
- HiddenField.cs
- DNS.cs
- AccessViolationException.cs
- GeneratedContractType.cs
- KoreanLunisolarCalendar.cs
- Animatable.cs
- StyleSheetDesigner.cs
- InputLanguageSource.cs
- AvTraceDetails.cs
- DataSourceCacheDurationConverter.cs
- DataGridViewBindingCompleteEventArgs.cs
- FieldNameLookup.cs
- CodeMethodReturnStatement.cs
- CodeTypeReference.cs
- DBSchemaTable.cs
- EndOfStreamException.cs
- RevocationPoint.cs
- WebProxyScriptElement.cs
- ProcessThreadCollection.cs
- XhtmlBasicListAdapter.cs
- WebPartUserCapability.cs
- EventPropertyMap.cs
- _SafeNetHandles.cs
- AnnotationAuthorChangedEventArgs.cs
- Parser.cs