Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Pen.cs
- PlatformCulture.cs
- PeerTransportSecuritySettings.cs
- SmtpNtlmAuthenticationModule.cs
- BindingContext.cs
- SqlXml.cs
- NumberSubstitution.cs
- TextParagraphView.cs
- ParsedRoute.cs
- ConfigurationStrings.cs
- DelegateBodyWriter.cs
- Quaternion.cs
- StrongName.cs
- HtmlImage.cs
- XmlRawWriterWrapper.cs
- ConfigXmlAttribute.cs
- ToolStripDropDownClosedEventArgs.cs
- DesignerObject.cs
- SqlXmlStorage.cs
- _ScatterGatherBuffers.cs
- X509ThumbprintKeyIdentifierClause.cs
- GACIdentityPermission.cs
- HttpCookie.cs
- OleDbCommand.cs
- figurelengthconverter.cs
- AbsoluteQuery.cs
- LocalValueEnumerator.cs
- SchemaConstraints.cs
- EtwTrace.cs
- InternalConfigEventArgs.cs
- StringExpressionSet.cs
- SendMessageContent.cs
- EntityModelBuildProvider.cs
- KeyboardEventArgs.cs
- sqlinternaltransaction.cs
- CriticalExceptions.cs
- DtrList.cs
- AdornerLayer.cs
- SoapElementAttribute.cs
- ScrollBar.cs
- FrameworkContentElementAutomationPeer.cs
- HttpApplication.cs
- ConfigurationPropertyCollection.cs
- Processor.cs
- Span.cs
- ListViewUpdateEventArgs.cs
- GridViewSortEventArgs.cs
- PolyQuadraticBezierSegment.cs
- DeclaredTypeElement.cs
- ContentType.cs
- GenericPrincipal.cs
- Decoder.cs
- DefaultTextStore.cs
- SystemDropShadowChrome.cs
- ConnectionPointCookie.cs
- ProcessStartInfo.cs
- Quaternion.cs
- ImageConverter.cs
- ProjectionCamera.cs
- ReaderWriterLock.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ProfileService.cs
- AccessText.cs
- NavigatingCancelEventArgs.cs
- TextFormatterContext.cs
- tooltip.cs
- SoapSchemaExporter.cs
- IIS7WorkerRequest.cs
- PreProcessor.cs
- XDRSchema.cs
- Composition.cs
- BreakSafeBase.cs
- TableLayoutSettings.cs
- LateBoundBitmapDecoder.cs
- LogicalCallContext.cs
- BindingManagerDataErrorEventArgs.cs
- WindowsAuthenticationModule.cs
- ObjectAssociationEndMapping.cs
- TemplateBaseAction.cs
- ConnectionsZoneDesigner.cs
- ResourceProviderFactory.cs
- SerializationHelper.cs
- Literal.cs
- DataShape.cs
- InvokeHandlers.cs
- SourceItem.cs
- PropertyCondition.cs
- InputMethodStateChangeEventArgs.cs
- AppDomain.cs
- Binding.cs
- X509CertificateValidator.cs
- BitmapEffectGeneralTransform.cs
- MetadataItemSerializer.cs
- LayoutTableCell.cs
- StyleSheetDesigner.cs
- DropShadowEffect.cs
- FontWeights.cs
- CodeArrayIndexerExpression.cs
- WebPartConnectionsCancelEventArgs.cs
- PopupRoot.cs