Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Design / ToolboxItemCollection.cs / 1305376 / 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 .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Operators.cs
- XmlSchemaComplexContentExtension.cs
- CollectionContainer.cs
- MeshGeometry3D.cs
- ContainerParagraph.cs
- ColorTranslator.cs
- GridLengthConverter.cs
- WebServiceResponseDesigner.cs
- AssemblyResourceLoader.cs
- ScriptRegistrationManager.cs
- WhereQueryOperator.cs
- DataGridCaption.cs
- RuntimeCompatibilityAttribute.cs
- SerializationAttributes.cs
- CodeGeneratorOptions.cs
- BulletDecorator.cs
- _IPv6Address.cs
- ReadWriteSpinLock.cs
- InstanceKey.cs
- DataGridAddNewRow.cs
- HttpCapabilitiesBase.cs
- ObjectStateManagerMetadata.cs
- SmiTypedGetterSetter.cs
- DataServiceProviderWrapper.cs
- OracleTransaction.cs
- SerialStream.cs
- UriTemplateEquivalenceComparer.cs
- CellConstantDomain.cs
- QueryConverter.cs
- WinFormsComponentEditor.cs
- ConfigUtil.cs
- ArrangedElementCollection.cs
- DescendentsWalker.cs
- LinqDataSourceUpdateEventArgs.cs
- StyleBamlTreeBuilder.cs
- TableCellAutomationPeer.cs
- ManagementDateTime.cs
- LabelLiteral.cs
- nulltextcontainer.cs
- SevenBitStream.cs
- GcSettings.cs
- DockPattern.cs
- CommonObjectSecurity.cs
- TreeViewEvent.cs
- DrawingAttributes.cs
- FeatureSupport.cs
- WindowsTitleBar.cs
- QueuePathDialog.cs
- NativeMethods.cs
- TemplateParser.cs
- JpegBitmapDecoder.cs
- XmlEnumAttribute.cs
- MimeMapping.cs
- GridViewCellAutomationPeer.cs
- XmlElementList.cs
- TreeSet.cs
- CompositeFontParser.cs
- InstalledFontCollection.cs
- VersionedStream.cs
- X509Certificate2Collection.cs
- NTAccount.cs
- QfeChecker.cs
- ObjectHandle.cs
- CertificateElement.cs
- JoinElimination.cs
- contentDescriptor.cs
- PropertyTabChangedEvent.cs
- LinkTarget.cs
- MsmqHostedTransportManager.cs
- ServiceChannelManager.cs
- DeviceContext.cs
- EntityContainerEmitter.cs
- BypassElement.cs
- ControlValuePropertyAttribute.cs
- CustomAssemblyResolver.cs
- BulletChrome.cs
- ImageSourceConverter.cs
- DbCommandDefinition.cs
- EntitySet.cs
- ArraySet.cs
- PartEditor.cs
- EmptyImpersonationContext.cs
- RegistrationServices.cs
- TraceSwitch.cs
- SHA256.cs
- TableLayoutStyle.cs
- TextureBrush.cs
- TemplatePropertyEntry.cs
- DesignerLoader.cs
- NamespaceList.cs
- MessageHeaderDescription.cs
- ScrollItemPatternIdentifiers.cs
- SortQueryOperator.cs
- ToolBarButtonClickEvent.cs
- TextEditor.cs
- MenuItem.cs
- InputProcessorProfilesLoader.cs
- ADMembershipUser.cs
- TableRow.cs
- IResourceProvider.cs