Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // ------------------------------------------------------------------------------ //Returns the index of a ///in /// the . // 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.Returns the index of a ///in /// the .
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Page.cs
- SizeLimitedCache.cs
- StructuralObject.cs
- Style.cs
- ArraySet.cs
- sqlinternaltransaction.cs
- Configuration.cs
- WebBrowsableAttribute.cs
- CapiHashAlgorithm.cs
- HTMLTextWriter.cs
- ScrollItemProviderWrapper.cs
- ByteAnimation.cs
- SafeSecurityHelper.cs
- UIPropertyMetadata.cs
- SizeAnimationClockResource.cs
- RequestResizeEvent.cs
- AppLevelCompilationSectionCache.cs
- MaskInputRejectedEventArgs.cs
- PartialTrustHelpers.cs
- SourceFileBuildProvider.cs
- SynchronousChannelMergeEnumerator.cs
- PrimitiveSchema.cs
- GenericEnumerator.cs
- ClickablePoint.cs
- FeatureSupport.cs
- PlaceHolder.cs
- SimpleHandlerFactory.cs
- EventLogTraceListener.cs
- CookielessData.cs
- ToolStripArrowRenderEventArgs.cs
- EastAsianLunisolarCalendar.cs
- CodeGeneratorOptions.cs
- RefreshResponseInfo.cs
- StylusEventArgs.cs
- DictionaryEditChange.cs
- SqlConnectionString.cs
- CmsInterop.cs
- SoapIncludeAttribute.cs
- XmlSubtreeReader.cs
- NominalTypeEliminator.cs
- DoubleAnimationUsingKeyFrames.cs
- XmlElementAttributes.cs
- DocumentViewerBase.cs
- HMACSHA1.cs
- Cursors.cs
- codemethodreferenceexpression.cs
- DateTimeFormatInfo.cs
- AnnotationAdorner.cs
- BulletedList.cs
- URLString.cs
- MessagePropertyVariants.cs
- WebDisplayNameAttribute.cs
- CodeEntryPointMethod.cs
- RTLAwareMessageBox.cs
- SessionPageStatePersister.cs
- ConsumerConnectionPointCollection.cs
- ConstructorExpr.cs
- QueryableDataSourceHelper.cs
- WebControlAdapter.cs
- KnownBoxes.cs
- AttributeCollection.cs
- NextPreviousPagerField.cs
- TreeBuilderBamlTranslator.cs
- WindowsRichEdit.cs
- ListCollectionView.cs
- errorpatternmatcher.cs
- ThreadSafeList.cs
- ExtractorMetadata.cs
- SchemaType.cs
- DataViewSettingCollection.cs
- FreezableOperations.cs
- KeyBinding.cs
- BitmapMetadataBlob.cs
- DataListItemEventArgs.cs
- shaper.cs
- SelectionRange.cs
- BindingFormattingDialog.cs
- DictionaryEntry.cs
- DebuggerAttributes.cs
- DataRecordInfo.cs
- ListView.cs
- DoubleKeyFrameCollection.cs
- PrintDialog.cs
- URIFormatException.cs
- OneOfConst.cs
- FatalException.cs
- ListBoxItemWrapperAutomationPeer.cs
- TargetControlTypeAttribute.cs
- RequestedSignatureDialog.cs
- SectionUpdates.cs
- ApplicationFileParser.cs
- SchemaNamespaceManager.cs
- IntSecurity.cs
- CodeArgumentReferenceExpression.cs
- PeerNode.cs
- SecurityContextCookieSerializer.cs
- SqlRecordBuffer.cs
- ServiceDiscoveryElement.cs
- ServiceDescriptionContext.cs
- IItemProperties.cs