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
- TreeNodeSelectionProcessor.cs
- XmlSchema.cs
- Restrictions.cs
- XmlSchemaValidationException.cs
- SqlDataReader.cs
- SynchronizedPool.cs
- DataRelationCollection.cs
- HttpListenerResponse.cs
- CuspData.cs
- TextBreakpoint.cs
- SizeLimitedCache.cs
- DiscoveryMessageSequenceGenerator.cs
- FormClosingEvent.cs
- TreeBuilderBamlTranslator.cs
- ADRoleFactory.cs
- ApplicationDirectory.cs
- SafeRightsManagementSessionHandle.cs
- SchemaCollectionCompiler.cs
- CrossContextChannel.cs
- Semaphore.cs
- CodeTryCatchFinallyStatement.cs
- ValueType.cs
- BamlRecordHelper.cs
- TransportElement.cs
- SerialPinChanges.cs
- TickBar.cs
- DependencyPropertyDescriptor.cs
- NGCSerializerAsync.cs
- Int32KeyFrameCollection.cs
- TouchesOverProperty.cs
- SettingsPropertyCollection.cs
- CompilationSection.cs
- SrgsItemList.cs
- CustomTypeDescriptor.cs
- BufferedGraphics.cs
- DiffuseMaterial.cs
- PanelDesigner.cs
- Utilities.cs
- HtmlMeta.cs
- KeySpline.cs
- Wildcard.cs
- addressfiltermode.cs
- DocobjHost.cs
- XmlIlTypeHelper.cs
- CharStorage.cs
- LinqDataSourceDisposeEventArgs.cs
- RightsManagementUser.cs
- OpacityConverter.cs
- ToolStripDropDownMenu.cs
- FontInfo.cs
- CompositionCommandSet.cs
- ExtractedStateEntry.cs
- DashStyle.cs
- PreloadHost.cs
- ComAwareEventInfo.cs
- ExecutionEngineException.cs
- RotateTransform.cs
- ModelPerspective.cs
- MessageHeaders.cs
- SqlColumnizer.cs
- PaperSize.cs
- DurableInstanceProvider.cs
- ReadOnlyCollectionBuilder.cs
- TransformerInfoCollection.cs
- linebase.cs
- OlePropertyStructs.cs
- SQLBoolean.cs
- SizeConverter.cs
- PriorityBinding.cs
- WhitespaceRule.cs
- SHA1CryptoServiceProvider.cs
- RectangleGeometry.cs
- IBuiltInEvidence.cs
- DefaultBindingPropertyAttribute.cs
- MonitoringDescriptionAttribute.cs
- RemotingConfigParser.cs
- ExternalDataExchangeClient.cs
- Comparer.cs
- PropertyBuilder.cs
- ControlHelper.cs
- HwndSource.cs
- UdpAnnouncementEndpoint.cs
- InvokeProviderWrapper.cs
- CompilerScope.cs
- SpecialNameAttribute.cs
- WebContext.cs
- FilteredAttributeCollection.cs
- DoubleAnimation.cs
- SafeFindHandle.cs
- EpmSyndicationContentDeSerializer.cs
- ClonableStack.cs
- Utils.cs
- AppDomainResourcePerfCounters.cs
- ResourceContainer.cs
- DataException.cs
- TextEndOfSegment.cs
- WebPartCloseVerb.cs
- XamlSerializer.cs
- DBCommandBuilder.cs
- SqlDataSourceSelectingEventArgs.cs