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
- DataGridTextBoxColumn.cs
- TrustSection.cs
- ComponentEvent.cs
- Rect3DValueSerializer.cs
- TimeSpanValidator.cs
- Translator.cs
- CLSCompliantAttribute.cs
- TextReader.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- activationcontext.cs
- SerialStream.cs
- TableChangeProcessor.cs
- Crc32.cs
- ParallelActivityDesigner.cs
- Config.cs
- SmtpCommands.cs
- IDataContractSurrogate.cs
- OverloadGroupAttribute.cs
- Utils.cs
- HitTestWithPointDrawingContextWalker.cs
- DefaultTextStoreTextComposition.cs
- IDReferencePropertyAttribute.cs
- PageSetupDialog.cs
- ObsoleteAttribute.cs
- XmlDataSourceView.cs
- ServiceModelConfigurationSectionGroup.cs
- SynchronousChannelMergeEnumerator.cs
- Point3DConverter.cs
- IApplicationTrustManager.cs
- DispatcherExceptionFilterEventArgs.cs
- PropertyMetadata.cs
- ToolBarButtonDesigner.cs
- NumberFormatInfo.cs
- DefaultAsyncDataDispatcher.cs
- ClientSettingsProvider.cs
- DesignTimeParseData.cs
- HebrewNumber.cs
- ServiceChannelManager.cs
- BoundingRectTracker.cs
- TemplateField.cs
- SqlAliasesReferenced.cs
- DataBoundControlParameterTarget.cs
- Trustee.cs
- DoubleAnimationBase.cs
- Trustee.cs
- AnimationTimeline.cs
- BasicViewGenerator.cs
- TreeNodeBindingCollection.cs
- Pointer.cs
- QueryableFilterUserControl.cs
- HiddenFieldPageStatePersister.cs
- ServiceModelPerformanceCounters.cs
- WebBrowserSiteBase.cs
- TypeTypeConverter.cs
- PlainXmlSerializer.cs
- XsdValidatingReader.cs
- GregorianCalendar.cs
- APCustomTypeDescriptor.cs
- SizeLimitedCache.cs
- StateFinalizationDesigner.cs
- GC.cs
- IndexedGlyphRun.cs
- RelationshipSet.cs
- SQLByteStorage.cs
- IApplicationTrustManager.cs
- SetUserPreferenceRequest.cs
- UnsafeMethods.cs
- HtmlTernaryTree.cs
- BitmapEffectGeneralTransform.cs
- MessageContractExporter.cs
- VectorKeyFrameCollection.cs
- XmlMembersMapping.cs
- CatalogPartCollection.cs
- ContextMenuStripGroupCollection.cs
- CompositeScriptReferenceEventArgs.cs
- OleTxTransactionInfo.cs
- UnionCodeGroup.cs
- ManualResetEventSlim.cs
- ScopelessEnumAttribute.cs
- HtmlForm.cs
- TagPrefixAttribute.cs
- DefaultValidator.cs
- ParentControlDesigner.cs
- RadioButtonBaseAdapter.cs
- WinFormsSecurity.cs
- RegisteredExpandoAttribute.cs
- AccessDataSourceView.cs
- TimersDescriptionAttribute.cs
- WindowsMenu.cs
- OperationPickerDialog.cs
- ColorContext.cs
- XpsResource.cs
- DrawingContextWalker.cs
- ActivityCodeGenerator.cs
- DataGridViewCellCancelEventArgs.cs
- ValidationSummary.cs
- ADConnectionHelper.cs
- ToolConsole.cs
- OleDbRowUpdatedEvent.cs
- TextViewDesigner.cs