Code:
/ FX-1434 / FX-1434 / 1.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
- EventDrivenDesigner.cs
- CommonDialog.cs
- SqlDataSourceCommandEventArgs.cs
- OptimizerPatterns.cs
- HttpStaticObjectsCollectionWrapper.cs
- MachineSettingsSection.cs
- DispatcherProcessingDisabled.cs
- StylusPoint.cs
- SchemaDeclBase.cs
- Mapping.cs
- PlainXmlSerializer.cs
- ValueExpressions.cs
- SqlNodeAnnotation.cs
- mansign.cs
- HttpConfigurationContext.cs
- Signature.cs
- ToolBarTray.cs
- DataReaderContainer.cs
- XmlIncludeAttribute.cs
- WCFServiceClientProxyGenerator.cs
- OutputCacheSection.cs
- LogExtentCollection.cs
- MethodAccessException.cs
- ValueChangedEventManager.cs
- UpdatePanelTriggerCollection.cs
- XPathAncestorIterator.cs
- Decoder.cs
- RoleGroup.cs
- BufferedResponseStream.cs
- DataObjectFieldAttribute.cs
- TabControl.cs
- XomlDesignerLoader.cs
- RegularExpressionValidator.cs
- TextParagraph.cs
- SortedList.cs
- COM2TypeInfoProcessor.cs
- ButtonRenderer.cs
- SqlExpressionNullability.cs
- BaseParser.cs
- ListViewGroupConverter.cs
- SqlConnectionPoolGroupProviderInfo.cs
- CultureInfo.cs
- DecoderNLS.cs
- RemotingConfiguration.cs
- NestedContainer.cs
- PassportPrincipal.cs
- VolatileResourceManager.cs
- InputLanguageEventArgs.cs
- WorkflowRuntimeService.cs
- LingerOption.cs
- EventDescriptor.cs
- StoreUtilities.cs
- EmptyElement.cs
- CodeComment.cs
- SqlProfileProvider.cs
- TreeView.cs
- TextBoxView.cs
- Atom10FormatterFactory.cs
- SamlDoNotCacheCondition.cs
- PageThemeCodeDomTreeGenerator.cs
- CqlParserHelpers.cs
- DataRowChangeEvent.cs
- Lock.cs
- DesignParameter.cs
- RefExpr.cs
- NavigationPropertyEmitter.cs
- uribuilder.cs
- PersonalizationProviderCollection.cs
- Action.cs
- QuerySafeNavigator.cs
- Stroke2.cs
- ScriptingRoleServiceSection.cs
- BoundField.cs
- StorageTypeMapping.cs
- BitArray.cs
- OptimizedTemplateContent.cs
- Parser.cs
- Object.cs
- LambdaCompiler.Statements.cs
- HashMembershipCondition.cs
- SHA512Cng.cs
- OdbcRowUpdatingEvent.cs
- SqlFactory.cs
- ExpressionCopier.cs
- coordinatorscratchpad.cs
- PathTooLongException.cs
- SoundPlayerAction.cs
- TimeManager.cs
- XmlElementList.cs
- SynchronousReceiveElement.cs
- FontUnitConverter.cs
- FloatMinMaxAggregationOperator.cs
- Sql8ConformanceChecker.cs
- MailMessageEventArgs.cs
- ObjectView.cs
- RoutedEventConverter.cs
- Translator.cs
- DispatcherOperation.cs
- DependencyProperty.cs
- VolatileEnlistmentMultiplexing.cs