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
- FillRuleValidation.cs
- RecordsAffectedEventArgs.cs
- SqlError.cs
- AnnotationComponentChooser.cs
- ClientScriptManager.cs
- ReflectionTypeLoadException.cs
- XmlLangPropertyAttribute.cs
- SchemaNotation.cs
- webeventbuffer.cs
- ILGenerator.cs
- MsmqTransportSecurity.cs
- EventListenerClientSide.cs
- TraceUtility.cs
- Filter.cs
- XmlBinaryReaderSession.cs
- SerializationSectionGroup.cs
- DataGridBoolColumn.cs
- ModelTreeEnumerator.cs
- Missing.cs
- ColumnResizeAdorner.cs
- ValueUnavailableException.cs
- EncryptedData.cs
- Debug.cs
- WebControl.cs
- RadioButtonRenderer.cs
- ChannelSinkStacks.cs
- UIPropertyMetadata.cs
- DbCommandTree.cs
- DWriteFactory.cs
- ConstraintStruct.cs
- UnaryNode.cs
- ExceptionHelpers.cs
- MatrixConverter.cs
- TraceContext.cs
- ISAPIRuntime.cs
- SiblingIterators.cs
- UnsafeNativeMethodsCLR.cs
- PointAnimationBase.cs
- ButtonChrome.cs
- SetterBaseCollection.cs
- ObjectListDesigner.cs
- Opcode.cs
- ErrorLog.cs
- PointAnimation.cs
- ConnectionPoint.cs
- EventItfInfo.cs
- BitmapMetadata.cs
- UnsafeNativeMethods.cs
- IncrementalHitTester.cs
- WebBrowserDocumentCompletedEventHandler.cs
- HandledMouseEvent.cs
- TaiwanCalendar.cs
- FontWeights.cs
- HMACMD5.cs
- OutputCacheSection.cs
- ToolStripPanelCell.cs
- StoragePropertyMapping.cs
- ActivityStateRecord.cs
- SchemaElementLookUpTableEnumerator.cs
- AmbiguousMatchException.cs
- SynchronizedChannelCollection.cs
- ServiceProviders.cs
- SettingsPropertyValue.cs
- IncrementalReadDecoders.cs
- QuadraticBezierSegment.cs
- RemotingConfigParser.cs
- ScriptManager.cs
- ProgramNode.cs
- MethodAccessException.cs
- WebPartMenuStyle.cs
- RadialGradientBrush.cs
- AlphaSortedEnumConverter.cs
- KnownTypesHelper.cs
- SqlDataSourceEnumerator.cs
- DbDataAdapter.cs
- HttpModuleAction.cs
- IBuiltInEvidence.cs
- Menu.cs
- NetworkStream.cs
- ListViewItem.cs
- ValueHandle.cs
- ResourceDescriptionAttribute.cs
- StreamUpdate.cs
- TextSpan.cs
- GenericEnumerator.cs
- MetadataExporter.cs
- SqlOuterApplyReducer.cs
- AncestorChangedEventArgs.cs
- Matrix3DStack.cs
- HostingEnvironmentWrapper.cs
- Debug.cs
- IndividualDeviceConfig.cs
- _NestedMultipleAsyncResult.cs
- Point4D.cs
- ByteAnimation.cs
- DataQuery.cs
- EntityViewContainer.cs
- __Filters.cs
- UpDownEvent.cs
- HostSecurityManager.cs