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
- DataSourceView.cs
- Int32.cs
- SmtpTransport.cs
- URLAttribute.cs
- ApplicationProxyInternal.cs
- GridToolTip.cs
- ObjectDataSourceSelectingEventArgs.cs
- VideoDrawing.cs
- PackageFilter.cs
- ErrorHandler.cs
- GroupJoinQueryOperator.cs
- XmlSchemaObjectTable.cs
- BuilderPropertyEntry.cs
- AssociationTypeEmitter.cs
- Parser.cs
- TemplateBindingExpression.cs
- StructuredTypeEmitter.cs
- XmlAutoDetectWriter.cs
- ErrorHandler.cs
- DockProviderWrapper.cs
- xamlnodes.cs
- MetadataArtifactLoaderCompositeResource.cs
- Bits.cs
- ImageSourceConverter.cs
- WinFormsSpinner.cs
- XmlSchemaSimpleContentRestriction.cs
- XmlNode.cs
- WebMessageEncodingBindingElement.cs
- Canvas.cs
- SystemIPInterfaceStatistics.cs
- DebuggerAttributes.cs
- SQLInt32Storage.cs
- StringPropertyBuilder.cs
- MexTcpBindingElement.cs
- fixedPageContentExtractor.cs
- Activity.cs
- DecoderReplacementFallback.cs
- WebServiceClientProxyGenerator.cs
- ExpressionBindings.cs
- ListViewItem.cs
- CoTaskMemHandle.cs
- XmlCustomFormatter.cs
- IndexedEnumerable.cs
- IncrementalReadDecoders.cs
- XslTransform.cs
- TemplateControlParser.cs
- CodeExporter.cs
- FileVersion.cs
- HelloOperationCD1AsyncResult.cs
- Vars.cs
- ChtmlFormAdapter.cs
- EntityException.cs
- ImageList.cs
- DecimalKeyFrameCollection.cs
- TaskExtensions.cs
- TimeSpanParse.cs
- HtmlDocument.cs
- Condition.cs
- MemberNameValidator.cs
- WindowsMenu.cs
- ImpersonationContext.cs
- SafeEventLogReadHandle.cs
- VirtualDirectoryMapping.cs
- NativeMethodsOther.cs
- SerialErrors.cs
- Binding.cs
- CreateUserWizard.cs
- StrongNameKeyPair.cs
- UrlMapping.cs
- DocumentGridContextMenu.cs
- SoapAttributeAttribute.cs
- SqlFacetAttribute.cs
- PropertyGeneratedEventArgs.cs
- PagedDataSource.cs
- Exceptions.cs
- SHA1CryptoServiceProvider.cs
- ProfileSettings.cs
- WorkItem.cs
- WebPartDisplayModeCancelEventArgs.cs
- ListViewItem.cs
- SetState.cs
- CachedFontFamily.cs
- AssemblyResourceLoader.cs
- Size3DValueSerializer.cs
- XsltCompileContext.cs
- Message.cs
- ListBoxChrome.cs
- HashHelper.cs
- MissingMemberException.cs
- DataObject.cs
- ObjectDataSourceFilteringEventArgs.cs
- PropertyDescriptorCollection.cs
- TextTrailingWordEllipsis.cs
- ListenerElementsCollection.cs
- DataGridViewTopLeftHeaderCell.cs
- HyperLink.cs
- VariableAction.cs
- DataServiceHostWrapper.cs
- WizardForm.cs
- VSWCFServiceContractGenerator.cs