Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxItemCollection.cs / 1 / ToolboxItemCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.Drawing.Design { using System; using System.Collections; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public sealed class ToolboxItemCollection : ReadOnlyCollectionBase { ////// A collection that stores ///objects. /// /// /// public ToolboxItemCollection(ToolboxItemCollection value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///based on another . /// /// /// public ToolboxItemCollection(ToolboxItem[] value) { InnerList.AddRange(value); } ////// Initializes a new instance of ///containing any array of objects. /// /// /// public ToolboxItem this[int index] { get { return ((ToolboxItem)(InnerList[index])); } } ///Represents the entry at the specified index of the ///. /// /// public bool Contains(ToolboxItem value) { return InnerList.Contains(value); } ///Gets a value indicating whether the /// ///contains the specified . /// /// public void CopyTo(ToolboxItem[] array, int index) { InnerList.CopyTo(array, index); } ///Copies the ///values to a one-dimensional instance at the /// specified index. /// /// public int IndexOf(ToolboxItem value) { return InnerList.IndexOf(value); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Returns the index of a ///in /// the .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizationStateQuery.cs
- PageStatePersister.cs
- Propagator.Evaluator.cs
- OleDbException.cs
- ServiceInstallComponent.cs
- VScrollBar.cs
- EntryPointNotFoundException.cs
- MDIControlStrip.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- DesignRelation.cs
- TrustManagerPromptUI.cs
- TreeViewHitTestInfo.cs
- XmlKeywords.cs
- NamespaceQuery.cs
- TimelineGroup.cs
- PropertyChangeTracker.cs
- RoutedEventConverter.cs
- NumericUpDownAcceleration.cs
- MatrixIndependentAnimationStorage.cs
- Binding.cs
- ToolStripSplitButton.cs
- ReadOnlyCollectionBase.cs
- XmlProcessingInstruction.cs
- ProcessHostMapPath.cs
- ToggleProviderWrapper.cs
- ConfigViewGenerator.cs
- WmpBitmapEncoder.cs
- XmlSerializerFactory.cs
- FormsAuthenticationEventArgs.cs
- CollectionBuilder.cs
- CompositeDataBoundControl.cs
- TypeForwardedToAttribute.cs
- SpellCheck.cs
- CompareValidator.cs
- XmlCharCheckingReader.cs
- CustomValidator.cs
- TypeDescriptorFilterService.cs
- lengthconverter.cs
- ResourceDescriptionAttribute.cs
- EventHandlersDesigner.cs
- EditorZoneDesigner.cs
- MessageHeader.cs
- ManipulationLogic.cs
- HyperlinkAutomationPeer.cs
- AudioFileOut.cs
- UInt16Storage.cs
- X509SecurityToken.cs
- InfiniteTimeSpanConverter.cs
- ISAPIRuntime.cs
- ActiveXContainer.cs
- mactripleDES.cs
- OperationAbortedException.cs
- FileDialog.cs
- XmlSerializerVersionAttribute.cs
- Component.cs
- CacheEntry.cs
- WindowsToolbarAsMenu.cs
- MarginCollapsingState.cs
- ItemCheckedEvent.cs
- DESCryptoServiceProvider.cs
- ConnectionStringSettingsCollection.cs
- DataObjectMethodAttribute.cs
- Marshal.cs
- Rotation3DAnimationBase.cs
- Timer.cs
- Canvas.cs
- ParameterToken.cs
- AttributeProviderAttribute.cs
- TraceShell.cs
- MaterialGroup.cs
- Misc.cs
- SpeechSeg.cs
- ContentElement.cs
- ItemCheckedEvent.cs
- AssemblyFilter.cs
- filewebresponse.cs
- TypeToStringValueConverter.cs
- System.Data.OracleClient_BID.cs
- AvTraceDetails.cs
- CallSite.cs
- DebugControllerThread.cs
- DbProviderFactories.cs
- shaperfactory.cs
- ConfigurationManagerHelperFactory.cs
- MimePart.cs
- Variable.cs
- OracleColumn.cs
- UpdateCompiler.cs
- CuspData.cs
- PartManifestEntry.cs
- MailHeaderInfo.cs
- TriggerBase.cs
- Underline.cs
- ProgressBarHighlightConverter.cs
- StorageEndPropertyMapping.cs
- Timeline.cs
- SmiConnection.cs
- ErrorLog.cs
- ConfigurationLockCollection.cs
- SqlXmlStorage.cs